backupscript/.woodpecker.yml
Jens True c38b088fff
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Secrets in CI
2023-07-11 10:41:06 +00:00

39 lines
836 B
YAML

pipeline:
requirements:
image: composer
commands:
- composer install --no-dev
run:
image: php:cli-bookworm
commands:
- ./backup show config.example.yml
dependencies:
image: composer
commands:
- composer install
analyze:
image: php:cli-bookworm
commands:
- make analyze
test:
image: php:cli-bookworm
commands:
- apt update
- apt install rclone
- vendor/bin/phpunit tests
document:
image: phpdoc/phpdoc
commands:
- phpdoc run
upload:
image: woodpeckerci/plugin-s3
settings:
bucket: buildserver
access_key:
from_secret: access_key_id
secret_key:
from_secret: secret_access_key
source: output/**/*
target: /backupscript/latest/
path_style: true
endpoint: https://s3.jcktrue.dk