fix yaml de la task pour désindexer le site si c'est un déploiement en preprod
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This commit is contained in:
parent
3b0acc7e20
commit
d0efe739e8
1 changed files with 0 additions and 8 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue