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
setup:
only: master
only:
- master
tags:
- prod
script:
@ -23,7 +24,8 @@ setup:
build:
stage: build
only: master
only:
- master
tags:
- prod
script:
@ -31,7 +33,8 @@ build:
deploy:
stage: deploy
only: master
only:
- master
tags:
- prod
script:
@ -45,6 +48,8 @@ deploy:
cleanup:
tags:
- prod
only:
- master
stage: cleanup
script:
- rm -rf ./*