-
-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (24 loc) · 794 Bytes
/
docs.yml
File metadata and controls
28 lines (24 loc) · 794 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
name: docs
on:
push:
branches:
- master
jobs:
docs:
name: 📖 Docs
runs-on: ubuntu-latest
steps:
- name: 🕶️ Checkout repository
uses: actions/checkout@v6
- name: 🚀 Bootstrap
uses: ./.github/common/bootstrap
- name: 🔨 Build docs
run: pnpm run docs
- uses: peaceiris/actions-gh-pages@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
enable_jekyll: false
commit_message: ${{ github.event.head_commit.message }}
force_orphan: true