Merge remote-tracking branch 'origin/main'
All checks were successful
Build and Deploy Godot HTML5 / build (push) Successful in 6m52s
Test Runner / test (push) Successful in 2s

This commit is contained in:
Tanner Van Teeffelen 2026-05-13 23:29:08 -04:00
commit 36ad631216

View file

@ -39,6 +39,19 @@ jobs:
# ---------------------------
- name: Verify Godot
run: godot --version
- name: Install export templates
run: |
VERSION=4.6
mkdir -p ~/.local/share/godot/export_templates/${VERSION}.stable
wget -O templates.tpz \
https://github.com/godotengine/godot/releases/download/${VERSION}-stable/Godot_v${VERSION}-stable_export_templates.tpz
unzip templates.tpz -d templates_tmp
cp -r templates_tmp/templates/* ~/.local/share/godot/export_templates/${VERSION}.stable/
# ---------------------------
# 5. Build HTML5 export
@ -46,11 +59,11 @@ jobs:
- name: Build HTML5
run: |
mkdir -p build/html5
godot --headless --export-release "HTML5" build/html5/index.html
godot --headless --export-release "Web" build/html5/index.html
# ---------------------------
# 6. Deploy to Nginx folder
# ---------------------------
- name: Deploy to server folder
run: |
rsync -av --delete build/html5/ /deploy/TheFlipSide
rsync -av --delete build/html5/ /deploy