diff options
| author | schererleander <leander@schererleander.de> | 2025-12-27 01:55:33 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-12-27 01:55:33 +0100 |
| commit | 5df2ab5c3ec1f57d20dcd24c2a64e8745766147e (patch) | |
| tree | ed4a79a672f2649e85c9a9392fc127a9e3cfcd87 /.github/workflows | |
| parent | 8df17d8202cc0f185b26a3257549978ca224b674 (diff) | |
feat(page): add github pages worflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pygbag.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/pygbag.yml b/.github/workflows/pygbag.yml new file mode 100644 index 0000000..3f6f9c8 --- /dev/null +++ b/.github/workflows/pygbag.yml @@ -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/github-pages-deploy-action@4.1.7 + with: + branch: gh-pages + folder: build/web |
