Skip to content

v0.2.3 (#519)

v0.2.3 (#519) #194

Workflow file for this run

name: Documentation generator
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: setup node.js
uses: actions/setup-node@v3
- name: install dependencies
run: |
npm clean-install
npm i -d @types/node
- run: npm run build
- name: build typedoc site
run: |
npx typedoc
- name: make git repo to push to github actions
run: |
cd documentation
git init
git add -A
git config user.name 'GitHub Actions'
git config user.email '[email protected]'
git commit -sam "$(date -Iseconds)"
touch .nojekyll
- name: push documentation files to docs branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: documentation