pygbag
pygbag copied to clipboard
generate .github/workflows/pygbag.yml
automatically, with maybe --githubci
and add "/build/web" and "/build/web-cache" to .gitignore
name: pygbag_build
on: [workflow_dispatch]
jobs:
build-pygbag:
name: Build for Emscripten pygbag runtime
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
run: |
python3 -m pip install pygbag
python3 -m pygbag --build $GITHUB_WORKSPACE/main.py
- name : "Upload to GitHub pages"
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build/web