Skip to content

fix: use pygbag --build to prevent CI hang on deploy #21

fix: use pygbag --build to prevent CI hang on deploy

fix: use pygbag --build to prevent CI hang on deploy #21

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pygbag black
sudo apt-get update
sudo apt-get install -y ffmpeg
- name: Build and Deploy with Pygbag
run: pygbag --build .
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./build/web