Skip to content

Merge pull request #15 from fairpm/zzap-patch-6 #9

Merge pull request #15 from fairpm/zzap-patch-6

Merge pull request #15 from fairpm/zzap-patch-6 #9

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
defaults:
run:
shell: bash
working-directory: ./docs
permissions:
contents: write
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
cname: docs.fair.pm