Update .gitlab-ci.yml

environments/production/deployments/1
Theenoro 2018-09-05 13:37:04 +02:00
parent 841dd21c1f
commit e5a7995f35
1 changed files with 4 additions and 1 deletions

View File

@ -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: