Skip to content

Set up deployment to GitHub Pages #14

Set up deployment to GitHub Pages

Set up deployment to GitHub Pages #14

Workflow file for this run

on:
- pull_request
- push
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm run test
- run: npm run build
#if: github.ref == 'refs/heads/main'
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
#if: github.ref == 'refs/heads/main'