aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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