Skip to content

Add LaTeX tutorial

Add LaTeX tutorial #35

name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Install
run: npm ci
- name: Lint & Format
run: npm run prettier:check
- name: Install and Build 🔧
run: |
NODE_ENV=production PUBLIC_URL="/dynamic-flow-visualization/" npm run build --workspaces
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.2
if: github.ref_name == 'main'
with:
branch: gh-pages # The branch the action should deploy to.
folder: viewer/build # The folder the action should deploy.