Skip to content

Commit 193ab23

Browse files
committed
ci(github-actions): move the generate sponsor step to docpublish workflow
1 parent aa9eda8 commit 193ab23

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/bumpversion.yml

-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
19-
- name: Generate Sponsors 💖
20-
uses: JamesIves/github-sponsors-readme-action@v1
21-
with:
22-
token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }}
23-
file: 'docs/README.md'
2419
- name: Create bump and changelog
2520
uses: commitizen-tools/commitizen-action@master
2621
with:

.github/workflows/docspublish.yml

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
2727
python -m mkdocs build
28+
- name: Generate Sponsors 💖
29+
uses: JamesIves/github-sponsors-readme-action@v1
30+
with:
31+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }}
32+
file: 'docs/README.md'
2833
- name: Push doc to Github Page
2934
uses: peaceiris/actions-gh-pages@v2
3035
env:

0 commit comments

Comments
 (0)