Web export, add deploy script

This commit is contained in:
Vojtěch Struhár 2025-06-03 17:34:45 +02:00
parent b3f7a0ae31
commit 8c778f7056
4 changed files with 53 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
# Godot 4+ specific ignores
.godot/
/android/
builds/*
!**/.gdignore

0
builds/.gdignore Normal file
View File

8
deploy.sh Executable file
View File

@ -0,0 +1,8 @@
echo "Deploying to games.vojtechstruhar.com"
rsync -avz \
-e "ssh -i $HOME/.ssh/hetzner_first" \
--delete \
builds/web/ \
root@vojtechstruhar.com:/var/www/web-games/balatro-shader

43
export_presets.cfg Normal file
View File

@ -0,0 +1,43 @@
[preset.0]
name="Web"
platform="Web"
runnable=true
advanced_options=false
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="builds/web/index.html"
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.0.options]
custom_template/debug=""
custom_template/release=""
variant/extensions_support=false
variant/thread_support=false
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/ensure_cross_origin_isolation_headers=true
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color(0, 0, 0, 1)