site/.woodpecker.yaml
2024-03-17 12:20:08 +01:00

20 lines
518 B
YAML

steps:
- name: upload
when:
branch:
- preprod
image: plugins/s3
settings:
bucket: preprod-site
endpoint: https://garage.deuxfleurs.fr
region: garage
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: static/**/*
target: /
strip_prefix: static/
# a bit more robust: do not require the let's encrypt certificate to be
# working for the subdomain
path_style: true