add cd
This commit is contained in:
parent
a24decc606
commit
20113623ae
|
@ -1,11 +1,15 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: fetch
|
GIT_STRATEGY: fetch
|
||||||
|
|
||||||
UNITY_VERSION: 2020.2.2f1
|
UNITY_VERSION: 2020.2.2f1
|
||||||
|
|
||||||
|
SRC_DIR: ./game
|
||||||
|
BUILD_DIR: ./game/Build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
@ -14,4 +18,18 @@ build:
|
||||||
artifacts:
|
artifacts:
|
||||||
name: $CI_PROJECT_NAME-$CI_PIPELINE_ID
|
name: $CI_PROJECT_NAME-$CI_PIPELINE_ID
|
||||||
paths:
|
paths:
|
||||||
- ./game/Build
|
- $BUILD_DIR
|
||||||
|
|
||||||
|
.deploy: &deploy
|
||||||
|
stage: deploy
|
||||||
|
variables:
|
||||||
|
BUTLER_KEY_FILE: "$HOME/Library/Application\ Support/itch/butler-creds"
|
||||||
|
script:
|
||||||
|
- butler push $BUILD_DIR $ITCH_USER/$ITCH_GAME:$ITCH_TRACK
|
||||||
|
|
||||||
|
deploy-dev:
|
||||||
|
<<: *build
|
||||||
|
variables:
|
||||||
|
ITCH_USER: "cyndrdev"
|
||||||
|
ITCH_GAME: "revival-internal-track"
|
||||||
|
ITCH_TRACK: "windows-unstable"
|
Loading…
Reference in New Issue