add deploy release job
This commit is contained in:
parent
9d2f1252ef
commit
64beb30d2b
|
@ -22,13 +22,13 @@ build:
|
|||
|
||||
.deploy: &deploy
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "feature/cd"
|
||||
dependencies:
|
||||
- build
|
||||
|
||||
deploy-dev:
|
||||
<<: *deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
variables:
|
||||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival-internal-track"
|
||||
|
@ -36,3 +36,14 @@ deploy-dev:
|
|||
script:
|
||||
- chmod +x ./ci/deploy.sh
|
||||
- ./ci/deploy.sh $BUILD_DIR $ITCH_USER $ITCH_GAME $ITCH_TRACK
|
||||
|
||||
deploy-release:
|
||||
<<: *deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
variables:
|
||||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival"
|
||||
ITCH_TRACK: "windows"
|
||||
scripts:
|
||||
- echo "deploy release :bolb:"
|
||||
|
|
Loading…
Reference in New Issue