Skip to content

Commit 3e73f5f

Browse files
committed
Fix document auto-generation
1 parent 09ce600 commit 3e73f5f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/kafka_api_gen_doc.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353

5454
kafka-api-deploy-doc:
5555
needs: [kafka-api-build-doc]
56+
if: github.event_name == 'push'
5657
runs-on: ubuntu-latest
5758
steps:
5859
- name: Checkout
@@ -65,11 +66,10 @@ jobs:
6566
with:
6667
name: document
6768

68-
#- name: Deploy to Pages
69-
# uses: JamesIves/github-pages-deploy-action@4.0.0
70-
# with:
71-
# #ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
72-
# branch: gh-pages
73-
# folder: "document"
74-
# clean: true
69+
- name: Deploy to Pages
70+
uses: JamesIves/github-pages-deploy-action@4.0.0
71+
with:
72+
branch: gh-pages
73+
folder: document
74+
clean: true
7575

0 commit comments

Comments
 (0)