add deploy script
This commit is contained in:
parent
f2dca5b597
commit
17e756f1cc
|
@ -22,10 +22,6 @@ build:
|
|||
|
||||
.deploy: &deploy
|
||||
stage: deploy
|
||||
variables:
|
||||
BUTLER: "$HOME/bin/butler"
|
||||
script:
|
||||
- $BUTLER push $BUILD_DIR $ITCH_USER/$ITCH_GAME:$ITCH_TRACK
|
||||
dependencies:
|
||||
- build
|
||||
|
||||
|
@ -35,3 +31,6 @@ deploy-dev:
|
|||
ITCH_USER: "cyndrdev"
|
||||
ITCH_GAME: "revival-internal-track"
|
||||
ITCH_TRACK: "windows-unstable"
|
||||
script:
|
||||
- chmod +x ./ci/deploy.sh
|
||||
- ./ci/deploy.sh $BUILD_DIR $ITCH_USER $ITCH_GAME $ITCH_TRACK
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
builddir=$1
|
||||
itchuser=$2
|
||||
itchgame=$3
|
||||
itchtrack=$4
|
||||
butler=$(which butler)
|
||||
|
||||
$butler push $builddir "$itchuser/$itchgame:$itchtrack"
|
Loading…
Reference in New Issue