Skip to content

Merge pull request #31 from JacobLinCool/changeset-release/main #43

Merge pull request #31 from JacobLinCool/changeset-release/main

Merge pull request #31 from JacobLinCool/changeset-release/main #43

Workflow file for this run

name: Docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
docs:
name: docs
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
run_install: true
- name: Build Docs
run: pnpm build && pnpm build:docs
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "docs"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main