Skip to content

Fix order

Fix order #21

Workflow file for this run

name: Generate and Publish Docs
on:
push:
branches:
- main
- 35_fix_docs
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: '21'
- name: Install dependencies
run: npm install
- name: Generate TypeDocs
run: npm run docs && ls -a docs
- name: Upload TypeDocs as GitHub Pages Artifact
uses: actions/[email protected]
with:
name: github-pages
path: docs/
deploy:
needs: generate-docs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment: github-pages
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4