Skip to content

Update index.html

Update index.html #46

Workflow file for this run

name: build
on:
push:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
nes:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Restore vendor cache
uses: actions/cache@v3
with:
path: ./vendor/
key: cc65
-
name: Prepare project (Cmake)
run: cmake . -DCMAKE_MAKE_PROGRAM=make
-
name: Build project (Makefile)
run: make
-
name: Upload roms artifacts
uses: actions/upload-artifact@v3
with:
name: roms
path: bin/*.nes
if-no-files-found: error
retention-days: 1
html5:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Restore vendor cache
uses: actions/cache@v3
with:
path: ./vendor/
key: cc65
-
name: Prepare project (Cmake)
run: cmake . -DCMAKE_MAKE_PROGRAM=make -DCMAKE_C_FLAGS="-DMAX_PLAYERS=1"
-
name: Build project (Makefile)
run: make
-
name: Build website
run: ./fake_npm_install.sh && ./fake_npm_build.sh
-
name: Setup Pages
uses: actions/configure-pages@v3
-
name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'html'
-
id: deployment
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2