Skip to content

[CI] Feature: Deploy typedoc to permalink #8

[CI] Feature: Deploy typedoc to permalink

[CI] Feature: Deploy typedoc to permalink #8

Workflow file for this run

name: TypeDoc
on:
pull_request:
types: [opened, edited, reopened, synchronize]
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Generate Documentation
run: pnpm typedoc
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './typedoc/documentation.json'
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@v4