Skip to content

rebuild gatsby again #33

rebuild gatsby again

rebuild gatsby again #33

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: Rebuild Gatsby with prefix
run: cd build/docs/gatsby && gatsby build --prefix-paths
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/docs/gatsby/public