Set up job tags

This commit is contained in:
Fingercomp 2023-06-14 21:14:11 +07:00
parent 1787ac603c
commit 633a0e0c4c
No known key found for this signature in database
GPG Key ID: BBC71CEE45D86E37

View File

@ -25,6 +25,8 @@ build:
stage: build stage: build
before_script: before_script:
- sbt -v sbtVersion - sbt -v sbtVersion
tags:
- public
script: script:
- sbt assembly - sbt assembly
artifacts: artifacts:
@ -45,6 +47,8 @@ pages:
before_script: [] before_script: []
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop"
tags:
- public
script: script:
- rm -rf public - rm -rf public
- mkdir public - mkdir public