mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 22:16:14 -04:00
Added staging deploy
This commit is contained in:
parent
934670b2a7
commit
c8c12fdd29
14 changed files with 242 additions and 164 deletions
13
deploy_staging.sh
Executable file
13
deploy_staging.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
bash ./build.sh
|
||||
|
||||
# upload to breakout-v3-staging.lecaro.me
|
||||
DOMAIN="breakout-v3-staging.lecaro.me"
|
||||
PUBLIC_CONTENT="./dist/*"
|
||||
|
||||
ssh staging "mkdir -p /opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN"
|
||||
rsync -avz --delete $PUBLIC_CONTENT staging:/opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN
|
||||
|
||||
# upload to itch.io , upload the index file directly
|
||||
butler push "./dist/index.html" renanlecaro/breakout71:nightly --userversion $versionCode
|
Loading…
Add table
Add a link
Reference in a new issue