Merge branch 'nikhilhenry:main' into main #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pygbag_build | |
on: | |
# Triggers the workflow on push only for the main branch (Lint and Launch) | |
push: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
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 |