forked from Deuxfleurs/site
Compare commits
1 commit
084029aa75
...
588593dab7
Author | SHA1 | Date | |
---|---|---|---|
Tixie | 588593dab7 |
|
@ -11,6 +11,14 @@ steps:
|
||||||
- DEBIAN_FRONTEND=noninteractive apt install -qq -y ./tidy-5.8.0-Linux-64bit.deb
|
- DEBIAN_FRONTEND=noninteractive apt install -qq -y ./tidy-5.8.0-Linux-64bit.deb
|
||||||
- tidy -q -e static/index.html
|
- tidy -q -e static/index.html
|
||||||
|
|
||||||
|
- 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)
|
- name: upload (preprod)
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
Loading…
Reference in a new issue