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 image: ubuntu
stage: build
only: only:
- branches@hpc-deam/strudelv2_spa - branches@hpc-deam/strudelv2_spa
except: except:
...@@ -16,9 +20,11 @@ test: ...@@ -16,9 +20,11 @@ test:
- npm install - npm install
- ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/ - ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/
artifacts: artifacts:
- ./dist/ paths:
- ./dist/
deploy_test: deploy_test:
stage: deploy
only: only:
- testing@hpc-team/strudelv2_spa - testing@hpc-team/strudelv2_spa
tags: tags:
...@@ -27,13 +33,11 @@ deploy_test: ...@@ -27,13 +33,11 @@ deploy_test:
- echo "deploying test" - echo "deploying test"
deploy_dev: deploy_dev:
stage: deploy
only: only:
- dev@hpc-team/strudelv2_spa - dev@hpc-team/strudelv2_spa
tags: tags:
- deploy_dev - deploy_dev
script: script:
- echo "deploying dev" - echo "deploying dev"
- rm ./package-lock.json
- npm install
- ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/
- bash ./install.sh - 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