Merge pull request #626 from eljobe/fix/curvepoint-equal-mutation #34
This file contains hidden or 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
| name: Deploy Static Site and React App to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies and build React app | |
| run: | | |
| cd ./docs/benchmark-app/ | |
| npm install | |
| npm run build | |
| cd ../../ | |
| mkdir -p public/benchmark | |
| mv ./docs/benchmark-app/build/* public/benchmark/ | |
| - name: Copy static index.html | |
| run: | | |
| cp ./docs/index.html public/ | |
| cp ./docs/*.md public/ | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./public |