Skip to content

Add Godot manager autoloads (#60) #52

Add Godot manager autoloads (#60)

Add Godot manager autoloads (#60) #52

Workflow file for this run

name: Godot Web build
on:
push:
branches:
- main
pull_request:
jobs:
build:
permissions:
contents: read
name: Build Godot Web export
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Set up Godot
uses: chickensoft-games/setup-godot@f166999204a4f2722c6fe042fbaa3b3ea0d9c789
with:
version: 4.7.0
use-dotnet: false
include-templates: true
cache: true
- name: Export Godot Web build
run: make godot-export
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
with:
path: dist
deploy:
name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
concurrency:
group: github-pages
cancel-in-progress: false
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e