Skip to content

ci: bump actions/setup-node from 3 to 4 #122

ci: bump actions/setup-node from 3 to 4

ci: bump actions/setup-node from 3 to 4 #122

Workflow file for this run

name: Publish docs
on:
push:
branches:
- main
paths:
- "docusaurus/**"
- ".github/workflows/publish-docs.yml"
jobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Build
run: |
cd docusaurus
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docusaurus/build