diff options
author | Aeddis Desauw <aeddis@deuxfleurs.fr> | 2025-01-06 21:16:24 +0100 |
---|---|---|
committer | Aeddis Desauw <aeddis@deuxfleurs.fr> | 2025-01-06 21:16:24 +0100 |
commit | 7f7c11b2e6f5ea1d6d66b98a9f0b0ec739448103 (patch) | |
tree | 0d4fcc8829572bf0778bcd8334fb4a7507dc56b3 /.woodpecker.yaml | |
parent | f8cc3529a80a7e43dfdec9029ad8615a2d6c1fb6 (diff) | |
download | guide.deuxfleurs.fr-7f7c11b2e6f5ea1d6d66b98a9f0b0ec739448103.tar.gz guide.deuxfleurs.fr-7f7c11b2e6f5ea1d6d66b98a9f0b0ec739448103.zip |
hello world ci on prepod
Diffstat (limited to '.woodpecker.yaml')
-rw-r--r-- | .woodpecker.yaml | 51 |
1 files changed, 12 insertions, 39 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 67463b6..1754e21 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,42 +1,15 @@ +when: + - event: push + branch: main + steps: - name: build - image: alpine:3.17.2 + image: debian 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/ - - - 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 + - echo "This is the build step" + - echo "binary-data-123" > executable + - name: a-test-step + image: golang:1.16 + commands: + - echo "Testing ..." + - ./executable |