Skip to content

fix setting custom notes in two-rows layout #260

fix setting custom notes in two-rows layout

fix setting custom notes in two-rows layout #260

Workflow file for this run

name: Build web deployment
on:
push:
branches:
- main
release:
types: [created]
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies with pnpm
uses: ./.github/actions/pnpm
- name: Build the packages
run: pnpm libs
- name: Run tests
run: pnpm -r test
- name: Build the GitHub pages distribution
run: VITE_DEPLOY_TO_GH=true pnpm --filter client build
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.GH_ACTIONS_DEPLOY_KEY }}
publish_dir: ./packages/client/build
- name: Build the Cloudflare distribution without base url
run: pnpm --filter client build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: midi-note-trainer
directory: ./packages/client/build