From eb68f0138626d2d8cc1f96b1134e9fce1ec204e9 Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Fri, 27 Oct 2023 12:12:57 +0800 Subject: [PATCH] Update sync action --- .github/workflows/gitee.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gitee.yml b/.github/workflows/gitee.yml index 8f628053..b784d304 100644 --- a/.github/workflows/gitee.yml +++ b/.github/workflows/gitee.yml @@ -19,12 +19,11 @@ jobs: target-username: ${{ secrets.USERNAME }} target-token: ${{ secrets.ACCESS_TOKEN }} - - uses: yanglbme/gitee-pages-action@main + - uses: wangchucheng/git-repo-sync@v0.1.0 with: - gitee-username: ${{ secrets.USERNAME }} - gitee-password: ${{ secrets.GITEE_USER_PASSWORD }} - gitee-repo: cskefu/docs - branch: gh-pages + target-url: https://gitee.com/cskefu/docs.git + target-username: ${{ secrets.USERNAME }} + target-token: ${{ secrets.ACCESS_TOKEN }} - uses: yanglbme/gitee-pages-action@main with: