/ music / acoustic-base
Sign in
music / acoustic-base
acoustic-base / .mochi / workflows / deploy.yml
25 lines · 638 BCodeBlameHistory
087c169Physically simulated pizzicato double bass and an SF2 built from itJeremy Magland 1# Build the app and publish it as the repository's site (site source: actions).
2name: Deploy site
3on:
4 push:
5 branches: [main]
6 workflow_dispatch:
7jobs:
8 deploy:
9 runs-on: ubuntu-latest
10 timeout-minutes: 15
11 steps:
12 - uses: actions/checkout@v4
13 - uses: actions/setup-node@v4
14 with:
15 node-version: 22
16 - uses: actions/configure-pages@v5
17 - run: npm ci
235a096Fix the deploy workflow's YAMLJeremy Magland 18 - name: Build
19 run: |
20 echo "site base path = $MOCHI_SITE_BASE_PATH"
21 npx vite build
087c169Physically simulated pizzicato double bass and an SF2 built from itJeremy Magland 22 - uses: actions/upload-pages-artifact@v3
23 with:
24 path: dist
25 - uses: actions/deploy-pages@v4
↑↓ move↵openescclose