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