Skip to content

Merge pull request #3 from Hexafuchs/dependabot/github_actions/action… #7

Merge pull request #3 from Hexafuchs/dependabot/github_actions/action…

Merge pull request #3 from Hexafuchs/dependabot/github_actions/action… #7

Workflow file for this run

# Original by Turadg Aleahmad licensed as MIT
# https://github.com/actions/starter-workflows/pull/2255/files
name: Deploy Documentation
on:
push:
branches: [main] # branch to trigger deployment
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: npm ci
- name: Build with TypeDoc
run: npm run docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4