Skip to content

chore: update Docusaurus configuration #6

chore: update Docusaurus configuration

chore: update Docusaurus configuration #6

Workflow file for this run

name: Deploy Docusaurus to GitHub Pages
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build website
run: yarn build
- name: Configure Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4