mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
@@ -36,8 +36,7 @@ setup:
|
|||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm run build:prod
|
||||||
- npm run build
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- www
|
- www
|
||||||
@@ -84,7 +83,6 @@ pages:
|
|||||||
review:
|
review:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- npm run build:prod
|
|
||||||
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-$CI_ENVIRONMENT_SLUG.surge.sh/
|
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-$CI_ENVIRONMENT_SLUG.surge.sh/
|
||||||
environment:
|
environment:
|
||||||
name: review/$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_NAME
|
name: review/$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_NAME
|
||||||
@@ -105,3 +103,27 @@ stop_review:
|
|||||||
action: stop
|
action: stop
|
||||||
tags:
|
tags:
|
||||||
- secrecy
|
- secrecy
|
||||||
|
|
||||||
|
staging:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/
|
||||||
|
environment:
|
||||||
|
name: staging
|
||||||
|
url: https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/
|
||||||
|
only:
|
||||||
|
- develop
|
||||||
|
tags:
|
||||||
|
- secrecy
|
||||||
|
|
||||||
|
production_demo:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- ./node_modules/.bin/surge -p ./www -d https://$CI_PROJECT_PATH_SLUG.surge.sh/
|
||||||
|
environment:
|
||||||
|
name: production
|
||||||
|
url: https://$CI_PROJECT_PATH_SLUG.surge.sh/
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
tags:
|
||||||
|
- secrecy
|
||||||
|
|||||||
Reference in New Issue
Block a user