Éviter l'indexation de la version de preprod par les moteurs de referencement
All checks were successful
ci/woodpecker/push/main Pipeline was successful
All checks were successful
ci/woodpecker/push/main Pipeline was successful
Notamment histoire d'éviter le "duplicated content"
This commit is contained in:
parent
98e7a0d340
commit
48fae2be6a
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ steps:
|
|||
- apk add zola
|
||||
- zola build
|
||||
|
||||
- name: disable SEO indexing
|
||||
image: alpine:3.17.2
|
||||
commands:
|
||||
- '[ -f public/robots.txt ] && echo "Disallow: /*" >> public/robots.txt'
|
||||
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
|
|
Loading…
Add table
Reference in a new issue