Skip to content

Commit c70c2dc

Browse files
committed
feat: add enhancedocs build and push
1 parent b8090e3 commit c70c2dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}
3636
run: yarn fetch-sponsors
3737

38+
- name: Install EnhanceDocs CLI
39+
uses: enhancedocs/enhancedocs-github-action@0.0.2
40+
with:
41+
api-key: ${{ secrets.ENHANCEDOCS_API_KEY }}
42+
43+
- name: Build Docs
44+
run: enhancedocs build versioned_docs/version-6.x
45+
46+
- name: Pushish Docs
47+
run: enhancedocs publish
48+
3849
- name: Publish to Github pages
3950
env:
4051
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)