refactor(docs): nits #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This deploy-docs workflow was created based on instructions from: | |
# https://docusaurus.io/docs/deployment | |
name: Deploy to GitHub Pages | |
permissions: | |
contents: write | |
actions: write | |
pages: write | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- release/v0.50 | |
paths: | |
- "docs/**" | |
- .github/workflows/deploy-docs.yml | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: npm | |
cache-dependency-path: docs/package-lock.json | |
- name: Build website | |
run: make build-docs | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.6.4 | |
with: | |
branch: gh-pages | |
folder: docs/build | |
single-commit: true |