Compare commits

...

3 commits

Author SHA1 Message Date
0ec1a1298d hello world ci 2025-01-06 21:49:16 +01:00
b4d53ee525 hello world ci 2025-01-06 21:29:33 +01:00
7f7c11b2e6 hello world ci on prepod 2025-01-06 21:16:24 +01:00

View file

@ -1,42 +1,15 @@
when:
- event: push
branch: main
steps: steps:
- name: build - name: build
image: alpine:3.17.2 image: debian
commands: commands:
- apk update - echo "This is the build step"
- apk add zola - name: a-test-step
- zola build image: golang:1.16
commands:
- echo "Testing ..."
- ./executable
- 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/
- name: upload
when:
branch:
- preprod
image: plugins/s3
settings:
bucket: preprod-guide
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/
path_style: true