add acknowledgments #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |