diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 1a962d9..dce8056 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -19,6 +19,14 @@ 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]