Renamed the dist directory to apply the gitignore to it

This commit is contained in:
Renan LE CARO 2025-03-19 18:13:41 +01:00
parent 1839977fed
commit afd0ccd5fc
13 changed files with 3782 additions and 60 deletions

View file

@ -21,12 +21,12 @@ git push
# upload to breakout.lecaro.me
DOMAIN="breakout.lecaro.me"
PUBLIC_CONTENT="./dist/*"
PUBLIC_CONTENT="./build/*"
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
# 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 "./build/index.html" renanlecaro/breakout71:latest --userversion $versionCode
butler push "./build/index.html" renanlecaro/breakout71:offline --userversion $versionCode