Skip to content

feat: add GitHub Actions workflow for deploying TypeDoc to GitHub pag… #1

feat: add GitHub Actions workflow for deploying TypeDoc to GitHub pag…

feat: add GitHub Actions workflow for deploying TypeDoc to GitHub pag… #1

Workflow file for this run

name: Deploy TypeDoc on GitHub pages

Check failure on line 1 in .github/workflows/typedoc.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/typedoc.yml

Invalid workflow file

(Line: 8, Col: 5): Unexpected value ''
on:
push:
branches:
main
env:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- run: npm ci --no-audit
- run: npm run build --if-present
- run: npm run build:documentation
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs
clean: true