aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pygbag.yml
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-12-27 01:55:33 +0100
committerschererleander <leander@schererleander.de>2025-12-27 01:55:33 +0100
commit5df2ab5c3ec1f57d20dcd24c2a64e8745766147e (patch)
treeed4a79a672f2649e85c9a9392fc127a9e3cfcd87 /.github/workflows/pygbag.yml
parent8df17d8202cc0f185b26a3257549978ca224b674 (diff)
feat(page): add github pages worflow
Diffstat (limited to '.github/workflows/pygbag.yml')
-rw-r--r--.github/workflows/pygbag.yml21
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