split dev and release dpeloy jobs
This commit is contained in:
parent
c9d7bf98c3
commit
72e4938633
|
@ -20,15 +20,10 @@ build:
|
|||
paths:
|
||||
- $BUILD_DIR
|
||||
|
||||
.deploy: &deploy
|
||||
.deploy-dev: &deploy
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "feature/cd"
|
||||
dependencies:
|
||||
- build
|
||||
|
||||
.deploy-dev: &deploy
|
||||
<<: *deploy
|
||||
variables:
|
||||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival-internal-track"
|
||||
|
@ -36,14 +31,19 @@ build:
|
|||
script:
|
||||
- chmod +x ./ci/deploy.sh
|
||||
- ./ci/deploy.sh $BUILD_DIR $ITCH_USER $ITCH_GAME $ITCH_TRACK
|
||||
dependencies:
|
||||
- build
|
||||
|
||||
.deploy-release: &deploy
|
||||
<<: *deploy
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == "feature/cd"
|
||||
variables:
|
||||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival"
|
||||
ITCH_TRACK: "windows"
|
||||
scripts:
|
||||
- echo "deploy release :bolb:"
|
||||
dependencies:
|
||||
- build
|
||||
|
|
Loading…
Reference in New Issue