diff options
author | Aeddis <aeddis@deuxfleurs.fr> | 2024-09-26 15:33:13 +0200 |
---|---|---|
committer | Aeddis <aeddis@deuxfleurs.fr> | 2024-09-26 15:33:13 +0200 |
commit | 78fac775bc538e95f87921c6b19439255b63a092 (patch) | |
tree | 9cd9d48992bc6bc0fdcdedf8d33a5cb6a8153fac /.woodpecker | |
parent | 91a0840ac4295d9641cf857af845e310c085ad1d (diff) | |
download | guide.deuxfleurs.fr-78fac775bc538e95f87921c6b19439255b63a092.tar.gz guide.deuxfleurs.fr-78fac775bc538e95f87921c6b19439255b63a092.zip |
Fix yaml lint
Diffstat (limited to '.woodpecker')
-rw-r--r-- | .woodpecker/main.yaml | 11 | ||||
-rw-r--r-- | .woodpecker/preprod.yaml | 11 |
2 files changed, 10 insertions, 12 deletions
diff --git a/.woodpecker/main.yaml b/.woodpecker/main.yaml index ff910e1..b68f993 100644 --- a/.woodpecker/main.yaml +++ b/.woodpecker/main.yaml @@ -1,9 +1,9 @@ +--- when: event: - - push - - pull_request - branch: main - + - push + - pull_request + branch: main steps: - name: build image: alpine:3.17.2 @@ -11,7 +11,6 @@ steps: - apk update - apk add zola - zola build - - name: upload image: plugins/s3 settings: @@ -24,4 +23,4 @@ steps: from_secret: aws_secret_access_key source: public/**/* target: / - strip_prefix: public/
\ No newline at end of file + strip_prefix: public/ diff --git a/.woodpecker/preprod.yaml b/.woodpecker/preprod.yaml index 29c03b8..f3f8e79 100644 --- a/.woodpecker/preprod.yaml +++ b/.woodpecker/preprod.yaml @@ -1,9 +1,9 @@ +--- when: event: - - push - - pull_request - branch: main - + - push + - pull_request + branch: preprod steps: - name: build image: alpine:3.17.2 @@ -11,8 +11,7 @@ steps: - apk update - apk add zola - zola build - - - name: upload + - name: upload when: branch: - preprod |