Tagging pipeline steps to use shared runners

This commit is contained in:
Jeff Avallone 2018-06-05 07:18:41 -04:00
parent a0468fd06f
commit 04cec072e3
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,8 @@ test:
- reports/
script:
yarn test
tags:
- shared
build:
stage: build
@ -26,6 +28,8 @@ build:
- build/
script:
- yarn build
tags:
- shared
deploy_preview:
stage: deploy
@ -42,6 +46,8 @@ deploy_preview:
- yarn deploy
only:
- react # TODO: Change to master once merged
tags:
- shared
deploy_production:
stage: deploy
@ -52,3 +58,5 @@ deploy_production:
- yarn deploy
only:
- tags
tags:
- shared