site/.woodpecker.yaml
Armaël Guéneau 526acdec1a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
tweak .woodpecker
2024-03-17 12:20:08 +01:00

21 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