mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 12:15:06 -04:00
Staging deploy adjustments
This commit is contained in:
parent
c8c12fdd29
commit
1a56b5f1d1
3 changed files with 19 additions and 13 deletions
13
deploy.sh
13
deploy.sh
|
@ -1,6 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
bash ./build.sh
|
||||
versionCode=$(($(date +%s) / 60))
|
||||
|
||||
bash ./build.sh $versionCode
|
||||
|
||||
# Create a release commit and tag
|
||||
git add .
|
||||
git commit -m "Build $versionCode"
|
||||
git tag -a $versionCode -m $versionCode
|
||||
git push
|
||||
|
||||
# upload to breakout.lecaro.me
|
||||
DOMAIN="breakout.lecaro.me"
|
||||
|
@ -11,4 +19,5 @@ rsync -avz --delete --delete-excluded --exclude="*.sh" --exclude="node_modules"
|
|||
|
||||
# upload to itch.io , upload the index file directly
|
||||
butler push "./dist/index.html" renanlecaro/breakout71:latest --userversion $versionCode
|
||||
butler push "./dist/index.html" renanlecaro/breakout71:offline --userversion $versionCode
|
||||
butler push "./dist/index.html" renanlecaro/breakout71:offline --userversion $versionCode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue