1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/.github/workflows/dev-web.yml
Emmanouil Papadeas 21cd02deaf Revert "Update to Godot 3.5.3"
This reverts commit 6492705d8a.
2024-02-20 15:46:50 +02:00

42 lines
1.2 KiB
YAML

name: Development Web build
on:
push:
branches: [ master ]
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-devweb
cancel-in-progress: true
env:
GODOT_VERSION: 3.5.2
EXPORT_NAME: Pixelorama
jobs:
export-web:
name: Web Export 🌐
runs-on: ubuntu-latest
container:
image: docker://barichello/godot-ci:3.5.2
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
submodules: true
- name: Setup 💻
run: |
mkdir -v -p build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Web Build 🔧
run: godot -v --export "HTML5" ./build/web/index.html
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
single-commit: true
folder: build/web # The folder the action should deploy.
target-folder: early_access