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