From 8b336b8c6df465000fb1a352eb27da6c912bf1e3 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Wed, 2 Feb 2022 16:37:19 +0100 Subject: [PATCH] allow js and css --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81333541..562ccd8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: -- GitLab