Skip to content
Snippets Groups Projects
Commit 7c118c01 authored by Chris Hines's avatar Chris Hines
Browse files

update ci

parent af0da8e6
No related branches found
No related tags found
1 merge request!2Dev
Pipeline #6742 passed
stages:
- build
- deploy
test:
build:
image: ubuntu
stage: build
only:
- branches@hpc-deam/strudelv2_spa
except:
......@@ -16,9 +20,11 @@ test:
- npm install
- ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/
artifacts:
- ./dist/
paths:
- ./dist/
deploy_test:
stage: deploy
only:
- testing@hpc-team/strudelv2_spa
tags:
......@@ -27,13 +33,11 @@ deploy_test:
- echo "deploying test"
deploy_dev:
stage: deploy
only:
- dev@hpc-team/strudelv2_spa
tags:
- deploy_dev
script:
- echo "deploying dev"
- rm ./package-lock.json
- npm install
- ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/
- bash ./install.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment