diff options
author | Tixie <contact@tixie.name> | 2024-06-09 18:01:47 +0200 |
---|---|---|
committer | Tixie <tixie@noreply.localhost> | 2024-06-09 16:21:27 +0000 |
commit | 4978b26ef612d2e23ebcc9fff628890a160adebd (patch) | |
tree | 81efb2cf63455be9300473cb04e69002cdfff347 | |
parent | b75294cc96ab1be58c7b1d4aa1a5bc8aeb1318a6 (diff) | |
download | site-4978b26ef612d2e23ebcc9fff628890a160adebd.tar.gz site-4978b26ef612d2e23ebcc9fff628890a160adebd.zip |
fix yaml de la task pour désindexer le site si c'est un déploiement en preprod
-rw-r--r-- | .woodpecker.yaml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml index dce8056..1a962d9 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -19,14 +19,6 @@ steps: commands: - '[ -f static/robots.txt ] && echo "Disallow: /*" >> static/robots.txt' - - name: disable SEO indexing (on preprod only) - when: - event: [push, pull_request] - branch: preprod - image: debian:12 # Same as previous step to not have to download 2 images, but it could be any linux - commands: - - [ -f static/robots.txt ] && echo "Disallow: /*" >> static/robots.txt - - name: upload (preprod) when: event: [push, pull_request] |