Skip to content

use crazy-max

use crazy-max #37

Workflow file for this run

name: Deploy specification
on:
push:
branches:
- main
env:
# this avoids node running out of memory while building
NODE_OPTIONS: --max_old_space_size=20480
jobs:
deploy-gh-pages:
permissions:
pages: write
id-token: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm ci
- run: npm run build
- run: npm run build:docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/docs/gatsby/public
commit_message: "Deploy to GitHub Pages"