add tags to jobs

This commit is contained in:
Cat Flynn 2021-01-30 15:35:58 +00:00
parent 7f7bc2123c
commit cb9c1a20f1
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,8 @@ variables:
build: build:
stage: build stage: build
tags:
- unity
script: script:
- chmod +x ./ci/build.sh - chmod +x ./ci/build.sh
- ./ci/build.sh $UNITY_VERSION - ./ci/build.sh $UNITY_VERSION
@ -23,6 +25,8 @@ build:
deploy-dev: deploy-dev:
stage: deploy stage: deploy
tags:
- deploy
rules: rules:
- if: $CI_COMMIT_BRANCH == $DEV_BRANCH - if: $CI_COMMIT_BRANCH == $DEV_BRANCH
variables: variables:
@ -37,6 +41,8 @@ deploy-dev:
deploy-release: deploy-release:
stage: deploy stage: deploy
tags:
- deploy
rules: rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH != $DEV_BRANCH - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH != $DEV_BRANCH
variables: variables: