Update .gitlab-ci.yml
parent
ef8b2193c7
commit
3e43a27b86
|
@ -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 ./*
|
||||||
|
|
Loading…
Reference in New Issue