Skip to content

Update deploy-pygame.yml #10

Update deploy-pygame.yml

Update deploy-pygame.yml #10

Workflow file for this run

name: Build Pool Game with Pygbag
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-pygbag:
name: Pool Game
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
run: |
echo "Attempting to install pygbag"
python -m pip install pygbag
echo "Successfully installed pygbag"
echo "Attempting to build the game"
python -m pygbag --build $GITHUB_WORKSPACE/pool/main.py
echo "Successfully build the game and complied to WebAssembly"
- name : "Upload to GitHub pages branch deployment"
uses: JamesIves/[email protected]
with:
branch: deployment
folder: pool/build/web