2025-02-15 19:21:00 +01:00
|
|
|
#!/bin/bash
|
2025-03-13 08:55:25 +01:00
|
|
|
|
2025-03-14 22:14:57 +01:00
|
|
|
bash ./build.sh
|
2025-02-15 20:47:26 +01:00
|
|
|
|
2025-03-05 19:50:17 +01:00
|
|
|
# upload to breakout.lecaro.me
|
2025-02-15 19:21:00 +01:00
|
|
|
DOMAIN="breakout.lecaro.me"
|
2025-03-05 22:51:19 +01:00
|
|
|
PUBLIC_CONTENT="./dist/*"
|
2025-03-05 22:10:17 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
ssh staging "mkdir -p /opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN"
|
|
|
|
rsync -avz --delete --delete-excluded --exclude="*.sh" --exclude="node_modules" --exclude="android" --exclude=".*" $PUBLIC_CONTENT staging:/opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN
|
|
|
|
|
2025-03-05 22:46:37 +01:00
|
|
|
# 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
|