/ music / acoustic-base
Sign in
music / acoustic-base
acoustic-base / .mochi / workflows / deploy.yml
22 lines · 593 BBlameHistoryRaw
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
18 - run: echo "base path: $MOCHI_SITE_BASE_PATH" && npx vite build
19 - uses: actions/upload-pages-artifact@v3
20 with:
21 path: dist
22 - uses: actions/deploy-pages@v4
↑↓ move↵openescclose