Skip to content

Commit b3084e1

Browse files
committed
update CI for badge upload
1 parent 48d4092 commit b3084e1

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,23 @@ jobs:
9797
# file_path: code-coverage-results.md
9898
- name: Upload Badges and Reports
9999
if: ${{ !cancelled() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
100-
uses: JamesIves/github-pages-deploy-action@v4
100+
uses: peaceiris/actions-gh-pages@v4
101101
with:
102-
branch: gh-pages
103-
folder: dist
104-
target-folder: pages
102+
github_token: ${{ secrets.GITHUB_TOKEN }}
103+
publish_branch: gh-pages
104+
publish_dir: dist
105+
destination_dir: pages
106+
enable_jekyll: true
107+
keep_files: true
108+
commit_message: "Upload badges & reports from CI - ${{ github.job }}"
109+
# - name: Upload Badges and Reports
110+
# if: ${{ !cancelled() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
111+
# uses: JamesIves/github-pages-deploy-action@v4
112+
# with:
113+
# branch: gh-pages
114+
# folder: dist
115+
# target-folder: pages
116+
# clean: false
117+
# commit-message: "Upload badges & reports from CI
105118

106119

0 commit comments

Comments
 (0)