[CI] Feature: Deploy typedoc to permalink #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
"Generate TypeDoc": | ||
Check failure on line 18 in .github/workflows/typedoc.yml GitHub Actions / TypeDocInvalid workflow file
|
||
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 TypeDoc": | ||
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 |