Skip to content

refactor(docs): update installation.md to fix broken link #12

refactor(docs): update installation.md to fix broken link

refactor(docs): update installation.md to fix broken link #12

name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: "22"
- name: Install bun
run: curl -fsSL https://bun.sh/install | bash
- name: Add bun to PATH
run: echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Install dependencies
run: cd docs && bun install
- name: Build the documentation
run: cd docs && npx nuxt build --preset github_pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.output/public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github_pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4