Skip to content

Commit 2ae8dbd

Browse files
committed
Chore: push docs to api-docs branch instead of main
1 parent 08339a9 commit 2ae8dbd

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/package-publish.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,15 @@ jobs:
148148
with:
149149
token: ${{ github.token }}
150150
tag: ${{ github.ref_name }}
151-
- name: Commit API docs, CHANGELOG.md
151+
- name: Commit CHANGELOG.md
152152
uses: stefanzweifel/git-auto-commit-action@v4
153153
with:
154154
branch: main
155-
commit_message: 'docs: update API docs, CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
156-
file_pattern: 'docs CHANGELOG.md'
155+
commit_message: "Update CHANGELOG.md for ${{ github.ref_name }} [skip ci]"
156+
file_pattern: "CHANGELOG.md"
157+
- name: Commit API docs
158+
uses: stefanzweifel/git-auto-commit-action@v4
159+
with:
160+
branch: api-docs
161+
commit_message: 'Update API docs for ${{ github.ref_name }} [skip ci]'
162+
file_pattern: 'docs'

0 commit comments

Comments
 (0)