From f1b4930a3068e73aee20b4c3d71dac551ab60c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Wed, 15 Sep 2021 09:59:32 +0000 Subject: [PATCH] fix: 404 on all surge links --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5da0d413..e3895abd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -139,6 +139,7 @@ stop_review: staging: stage: deploy script: + - cp www/index.html www/200.html - ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/ environment: name: staging @@ -152,6 +153,7 @@ production_demo: stage: deploy script: - npm run build:prod + - cp www/index.html www/200.html - ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG.surge.sh/ environment: name: production