Skip to content

Commit

Permalink
auto deploy to itch.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathaneeckhout committed Feb 13, 2024
1 parent 574a333 commit d941345
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [ "$#" -eq 0 ]; then
echo "Usage: $0 <SSH LOGIN TO SERVER>"
echo "Usage: $0 <SSH LOGIN TO SERVER> <ITCH USERNAME / ITCH GAME>"
echo "Description: Deploy jdungeon server's remotely on a host"
exit 1
fi
Expand All @@ -14,3 +14,5 @@ echo ========================= Copying ===============================
./tools/deploy/copy.sh $1
echo ========================= Starting ===============================
./tools/deploy/start.sh $1
echo ========================= Push to Itch.io ===============================
./tools/deploy/push_to_itch.sh $2
3 changes: 3 additions & 0 deletions tools/deploy/push_to_itch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

butler push build/web/ $1:html5

0 comments on commit d941345

Please sign in to comment.