chore(deps-dev): bump typedoc from 0.26.9 to 0.26.10 in the typescrip… #47
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: Deploy the documentation on GitHub Pages | |
# Controls when the workflow will run | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/actions/build-documentation/**/*' | |
- '.github/workflows/deploy-documentation.yml' | |
- 'public/docs/**/*' | |
- 'src/**/*.ts' | |
- 'package.json' | |
- 'package-lock.json' | |
- 'typedoc.json' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ vars.RUNNER_UBUNTU }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build documentation | |
uses: ./.github/actions/build-documentation | |
- name: Upload artifact for GitHub Pages | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: build/docs | |
deploy: | |
needs: build | |
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | |
permissions: | |
contents: read | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
actions: read # to download an artifact uploaded by `actions/upload-pages-artifact@v3` | |
# Deploy to the github-pages environment | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ${{ vars.RUNNER_UBUNTU }} | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |