woodpecker CI file
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Armaël Guéneau 2024-03-17 11:27:09 +01:00
parent 365f1fdeb6
commit 55543a14ec

24
.woodpecker.yaml Normal file
View file

@ -0,0 +1,24 @@
steps:
- name: build
image: alpine:3.17.2
commands:
- apk update
- apk add zola
- zola build
- name: upload
when:
branch:
- main
image: plugins/s3
settings:
bucket: guide.deuxfleurs.fr
endpoint: https://garage.deuxfleurs.fr
region: garage
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: public/**/*
target: /
strip_prefix: public/