This commit is contained in:
Cat Flynn 2021-01-29 15:14:15 +00:00
parent a24decc606
commit 20113623ae
1 changed files with 19 additions and 1 deletions

View File

@ -1,11 +1,15 @@
stages:
- build
- deploy
variables:
GIT_STRATEGY: fetch
UNITY_VERSION: 2020.2.2f1
SRC_DIR: ./game
BUILD_DIR: ./game/Build
build:
stage: build
script:
@ -14,4 +18,18 @@ build:
artifacts:
name: $CI_PROJECT_NAME-$CI_PIPELINE_ID
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"