From 7ca017c3f9494c995a1ae80d418f4ec9e0a33552 Mon Sep 17 00:00:00 2001 From: ZeYi Lin <944270057@qq.com> Date: Thu, 12 Sep 2024 01:18:52 +0800 Subject: [PATCH] fix: gitee action vars --- .github/workflows/sync-to-gitee.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-to-gitee.yml b/.github/workflows/sync-to-gitee.yml index 1345f507..bcbf895b 100644 --- a/.github/workflows/sync-to-gitee.yml +++ b/.github/workflows/sync-to-gitee.yml @@ -16,7 +16,7 @@ jobs: - name: Push to Gitee run: | - git config --global user.name ${{ secrets.GITEE_USERNAME }} - git config --global user.email ${{ secrets.GITEE_EMAIL }} - git remote add gitee https://${{ secrets.GITEE_USERNAME }}:${{ secrets.GITEE_TOKEN }}@gitee.com/${{ secrets.GITEE_USERNAME }}/HivisionIDPhotos.git + git config --global user.name ${{ vars.GITEE_USERNAME }} + git config --global user.email ${{ vars.GITEE_EMAIL }} + git remote add gitee https://${{ vars.GITEE_USERNAME }}:${{ secrets.GITEE_TOKEN }}@gitee.com/${{ vars.GITEE_USERNAME }}/HivisionIDPhotos.git git push -f gitee master:master