Skip to content

Commit ada048f

Browse files
[workflow] Update GitHub action for deploying docs (backport #6015) (#6022)
Co-authored-by: Hailin Wang <[email protected]>
1 parent d8335c9 commit ada048f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,10 @@ jobs:
120120
name: docs-${{ matrix.language }}-${{ env.VERSION }}
121121
path: docs/build/${{ matrix.builder }}/${{ matrix.language }}
122122
- name: Upload the documentation
123-
uses: peaceiris/actions-gh-pages@v4
123+
uses: JamesIves/github-pages-deploy-action@v4
124124
with:
125-
github_token: ${{ secrets.GITHUB_TOKEN }}
126-
publish_dir: docs/build/${{ matrix.builder }}/${{ matrix.language }}
127-
destination_dir: ${{ matrix.language }}/${{ env.PUBLISH }}
128-
keep_files: true
125+
token: ${{ secrets.GITHUB_TOKEN }}
126+
folder: docs/build/${{ matrix.builder }}/${{ matrix.language }}
127+
target-folder: ${{ matrix.language }}/${{ env.PUBLISH }}
128+
single-commit: true
129+
clean: false

0 commit comments

Comments
 (0)