ci: fix surge deployment for new routing strategy

This commit is contained in:
Rainer Killinger
2021-08-09 17:39:38 +02:00
parent 640df473f7
commit bbd20effb6

View File

@@ -111,6 +111,7 @@ review:
stage: deploy
script:
- .gitlab/ci/enableGitlabReviewToolbar.sh www/index.html "$CI_PROJECT_ID" "$CI_OPEN_MERGE_REQUESTS"
- cp www/index.html www/200.html
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-$CI_ENVIRONMENT_SLUG.surge.sh/
environment:
name: review/$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_NAME