Skip to content

Commit

Permalink
Add GitHub workflow to publish web version (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
plbrault authored Jul 30, 2023
1 parent 702466e commit 36403cb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pygbag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

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: |
python -m pip install pygbag
python -m pygbag --build $GITHUB_WORKSPACE/main.py
- name : "Upload to GitHub pages branch gh-pages"
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build/web

0 comments on commit 36403cb

Please sign in to comment.