Skip to content

Update acknowledgments #109

Update acknowledgments

Update acknowledgments #109

Workflow file for this run

# build the frontend using vite to GitHub Pages
name: Build and Deploy Frontend
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: yarn install
working-directory: packages/frontend
- name: Build
run: yarn build
working-directory: packages/frontend
- name: Prepare public directory
run: |
mkdir public
mv dist/* public/
mv src/traces public/
working-directory: packages/frontend
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: packages/frontend/public
keep_files: true