mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 04:05:06 -04:00
14 lines
458 B
Bash
14 lines
458 B
Bash
![]() |
#!/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
|