Skip to content

Static site build

Static site build #10

name: Static site build
on:
workflow_dispatch:
workflow_run:
workflows: ["Fetch data"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Build
run: |
npm ci
npm run build
touch dist/.nojekyll
echo "216.show" >> dist/CNAME
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist