Skip to content

[add] README.md

[add] README.md #8

name: Build Pygame with Pygbag
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-pygbag:
name: Raycasting demo
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 main.py
echo "Successfully build the game and complied to WebAssembly"
- name : "Upload to GitHub pages branch gh-pages"
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: build/web