mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
fix: 404 on all surge links
This commit is contained in:
@@ -139,6 +139,7 @@ stop_review:
|
|||||||
staging:
|
staging:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
- cp www/index.html www/200.html
|
||||||
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/
|
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/
|
||||||
environment:
|
environment:
|
||||||
name: staging
|
name: staging
|
||||||
@@ -152,6 +153,7 @@ production_demo:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- npm run build:prod
|
- 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/
|
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG.surge.sh/
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
|
|||||||
Reference in New Issue
Block a user