backupscript/.woodpecker.yml
Jens True 9d7d8cf89c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Requirement to make has been removed
2023-07-13 12:10:12 +00:00

37 lines
814 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
- composer 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