forked from gree/smfplayer.js
-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) · 935 Bytes
/
build_docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: NodeJS with Vite
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout ✅
uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }} ⚡
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Build 🔧
run: |
yarn install
yarn build:docs
env:
VITE_GOOGLE_ANALYTICS_ID: UA-33600926-1
VITE_WML_URL: https://logue.dev/sf2synth.js/?soundfont=Yamaha XG Sound Set Ver.2.0.sf2
- name: Deploy to gh-pages 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.