diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..916655a --- /dev/null +++ b/deploy.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +readonly GODOT_4_PATH="/home/peronio/.local/bin/Godot_v4.2.1.x86_64" +readonly PROJECT_NAME="ggj-2024" + +mkdir -p ./build/ +${GODOT_4_PATH} --headless --export-release "Web" ./build/build.html +mv ./build/build.html ./build/index.html +zip -r -j build.zip ./build/* +butler push ./build.zip illusion-fisherman/${PROJECT_NAME}:html5 +rm -rf ./build/ +rm ./build.zip |