Skip to content

Fix glb viewer can't show marker sequence only (#93) #320

Fix glb viewer can't show marker sequence only (#93)

Fix glb viewer can't show marker sequence only (#93) #320

name: Publish Website
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build_docs_job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: ./momentum/website/yarn.lock
- name: Install dependencies
run: sudo apt-get install doxygen
- name: Build the Website
working-directory: momentum/website
run: |
yarn install --frozen-lockfile
yarn run build
- name: Deploy
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: momentum/website/build # The folder the action should deploy.