Skip to content

Commit c1d02c4

Browse files
ci: PLT-526: Publish docs
1 parent 0550736 commit c1d02c4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/publish_docs.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Publish Docs"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.sha }}
10+
11+
jobs:
12+
publish:
13+
name: "Publish Docs"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: hmarr/[email protected]
17+
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Setup node
22+
uses: actions/setup-node@v4
23+
24+
- name: Download Fern
25+
run: npm install -g fern-api
26+
27+
- name: Generate and Publish
28+
env:
29+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
30+
run: fern generate --docs

0 commit comments

Comments
 (0)