-
-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) · 680 Bytes
/
docs.yml
File metadata and controls
38 lines (31 loc) · 680 Bytes
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: Generate Docs
on:
push:
branches:
- main
pull_request:
paths:
- 'src/**'
- '.github/workflows/docs.yml'
- 'package.json'
- 'yarn.lock'
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
- name: Build docs
run: |
yarn install
yarn build
- name: Deploy
if: ${{ github.event_name != 'pull_request' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .build/docs
git-config-name: QMK Bot
git-config-email: [email protected]