Skip to content

Merge pull request #419 from visdesignlab/398-view-all-elements #51

Merge pull request #419 from visdesignlab/398-view-all-elements

Merge pull request #419 from visdesignlab/398-view-all-elements #51

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Run yarn build
run: yarn build
- name: Run yarn doc
# build typedocs with yarn doc command
run: yarn doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs