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
before_script:
- sbt -v sbtVersion
tags:
- public
script:
- sbt assembly
artifacts:
@ -45,6 +47,8 @@ pages:
before_script: []
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop"
tags:
- public
script:
- rm -rf public
- mkdir public