summaryrefslogtreecommitdiff
path: root/deploy.sh
blob: 916655a3365f6ac4bccd895c2eed13d88e93c972 (plain)
1
2
3
4
5
6
7
8
9
10
11
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