Update .gitlab-ci.yml

environments/production/deployments/1
Theenoro 2018-09-05 13:41:05 +02:00
parent ef8b2193c7
commit 3e43a27b86
1 changed files with 8 additions and 3 deletions

View File

@ -7,7 +7,8 @@ stages:
image: node:8.11.4 image: node:8.11.4
setup: setup:
only: master only:
- master
tags: tags:
- prod - prod
script: script:
@ -23,7 +24,8 @@ setup:
build: build:
stage: build stage: build
only: master only:
- master
tags: tags:
- prod - prod
script: script:
@ -31,7 +33,8 @@ build:
deploy: deploy:
stage: deploy stage: deploy
only: master only:
- master
tags: tags:
- prod - prod
script: script:
@ -45,6 +48,8 @@ deploy:
cleanup: cleanup:
tags: tags:
- prod - prod
only:
- master
stage: cleanup stage: cleanup
script: script:
- rm -rf ./* - rm -rf ./*