Skip to content

Update path

Update path #8

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: Archive artifact
shell: sh
run: |
echo ::group::Archive artifact
tar \
--dereference --hard-dereference \
-cvf "$RUNNER_TEMP/artifact.tar" \
-C "./docs/"
echo ::endgroup::
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: docs/artifact.tar
retention-days: "1"
if-no-files-found: error