backupscript/.woodpecker.yml
Jens True 31ca54cdac
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Finetuning paths.
2023-07-11 11:18:23 +00:00

40 lines
865 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
strip_prefix: output/
endpoint: https://s3.jcktrue.dk