Skip to content

Merge pull request #3 from BafS/fine-tune-design-1 #13

Merge pull request #3 from BafS/fine-tune-design-1

Merge pull request #3 from BafS/fine-tune-design-1 #13

Workflow file for this run

name: Deploy app
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm build
run: |
npm ci
npm run build -- --base=/equal-temperament-playground
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist