Update .gitlab-ci.yml
parent
841dd21c1f
commit
e5a7995f35
|
@ -1,4 +1,3 @@
|
||||||
image: node:8.11.4
|
|
||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
- build
|
- build
|
||||||
|
@ -6,6 +5,7 @@ stages:
|
||||||
- cleanup
|
- cleanup
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
|
image: node:8.11.4
|
||||||
only: master
|
only: master
|
||||||
tag: prod
|
tag: prod
|
||||||
script:
|
script:
|
||||||
|
@ -20,6 +20,7 @@ setup:
|
||||||
- npm install --save
|
- npm install --save
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
image: node:8.11.4
|
||||||
stage: build
|
stage: build
|
||||||
only: master
|
only: master
|
||||||
tag: prod
|
tag: prod
|
||||||
|
@ -27,6 +28,7 @@ build:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
image: node:8.11.4
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only: master
|
only: master
|
||||||
tag: prod
|
tag: prod
|
||||||
|
@ -39,6 +41,7 @@ deploy:
|
||||||
url: https://wbm.lucajaents.ch
|
url: https://wbm.lucajaents.ch
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
image: node:8.11.4
|
||||||
tag: prod
|
tag: prod
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue