aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2023-12-18 17:46:36 +0000
committermaximilien <me@mricher.fr>2023-12-18 17:46:36 +0000
commit621aa9ab4760552fea856bb6f9fc18bc0e5162a4 (patch)
treec1b9148f4d35230d99abc7bde6619702ea2597c3 /.drone.yml
parentca26ad6a08afd8f5ad6654a8478a47ae52b9d4c7 (diff)
parenta6f298c60de549de57e89771beb148f2bb6e350f (diff)
downloadguide.deuxfleurs.fr-621aa9ab4760552fea856bb6f9fc18bc0e5162a4.tar.gz
guide.deuxfleurs.fr-621aa9ab4760552fea856bb6f9fc18bc0e5162a4.zip
Merge pull request 'restricted CI upload to branch main only' (#31) from ci/upload_when_branch_main into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/guide.deuxfleurs.fr/pulls/31
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 36af455..88f54c9 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -11,6 +11,9 @@ steps:
- zola build
- name: upload
+ when:
+ branch:
+ - main
image: plugins/s3
settings:
bucket: guide.deuxfleurs.fr