Skip to content

Commit b9aa68f

Browse files
authored
chore: Add manual publish docs workflow. (#356)
1 parent e03c3f9 commit b9aa68f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Manual Publish Docs
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
publish-package:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
contents: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20.x
17+
registry-url: 'https://registry.npmjs.org'
18+
19+
- name: Install Dependencies
20+
run: npm install
21+
22+
- name: Build Documentation
23+
run: npm run doc
24+
25+
- id: publish-docs
26+
name: Publish Documentation
27+
uses: ./.github/actions/publish-docs
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)