Skip to content
Snippets Groups Projects
Commit 9f7b01e5 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Merge branch 'hotfix-seo-allow-js-css' into 'prod'

allow js and css in robots.txt

See merge request spraksamlingane/beta.ordbok.uib.no!127
parents 3b6aec58 8b336b8c
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,8 @@ build-prod:
- npm run build -- --mode production
- 'echo -e "\nDisallow: /" >> dist/robots.txt'
- 'echo -e "\nAllow: /index.html" >> dist/robots.txt'
- 'echo -e "\nAllow: /css/" >> dist/robots.txt'
- 'echo -e "\nAllow: /js/" >> dist/robots.txt'
artifacts:
expire_in: 1 week
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment