Skip to content

feat(gfx): sprite art pass (phase 5) #36

feat(gfx): sprite art pass (phase 5)

feat(gfx): sprite art pass (phase 5) #36

Workflow file for this run

name: Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v7
- name: Install RGBDS v1.0.3
run: |
mkdir -p rgbds-bin
curl -sL https://github.com/gbdev/rgbds/releases/download/v1.0.3/rgbds-linux-x86_64.tar.xz | tar -xJ -C rgbds-bin
- name: Install Python deps
run: python3 -m pip install numpy
- name: Build ROM
run: make RGBDS="$PWD/rgbds-bin/"
- name: Stage site
run: |
mkdir -p _site
cp web/* _site/
cp pirates_folly.gb _site/
- uses: actions/configure-pages@v6
with:
# Auto-enable Pages (source: GitHub Actions) on first run
enablement: true
- uses: actions/upload-pages-artifact@v5
with:
path: _site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5