Skip to content

Ci/generate deploy typedoc #2

Ci/generate deploy typedoc

Ci/generate deploy typedoc #2

Workflow file for this run

name: Generate and Deploy Typedoc
on:
pull_request:
branches:
- main # Adjust this to your project's default branch if different
types: [opened, synchronize]
jobs:
generate_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.17.1'
- name: Install Dependencies
run: npm ci
- name: Generate Typedoc
run: npm run build:typedoc # Adjust the paths as necessary
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs # Adjust the folder name as necessary