mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
refactor: update to Angular 13
This commit is contained in:
@@ -33,7 +33,7 @@ setup:
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npm run build
|
||||
- npm run build:prod
|
||||
artifacts:
|
||||
paths:
|
||||
- www
|
||||
@@ -125,7 +125,7 @@ executable:
|
||||
review:
|
||||
stage: deploy
|
||||
script:
|
||||
- .gitlab/ci/enableGitlabReviewToolbar.sh www/index.html "$CI_PROJECT_ID" "$CI_OPEN_MERGE_REQUESTS"
|
||||
- npm run build:prod
|
||||
- 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:
|
||||
@@ -154,6 +154,7 @@ stop_review:
|
||||
staging:
|
||||
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-staging.surge.sh/
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user