Skip to content

Patch v1.3.2

Patch v1.3.2 #8

name: Build and Deploy Docs
on:
release:
types: [published]
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
name: Install pnpm
with:
version: latest
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: Install dependencies
run: pnpm install
- name: Build Docs
run: pnpm run build:docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./docs
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1