Skip to content

Commit 7ca017c

Browse files
committed
fix: gitee action vars
1 parent 27269db commit 7ca017c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sync-to-gitee.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Push to Gitee
1818
run: |
19-
git config --global user.name ${{ secrets.GITEE_USERNAME }}
20-
git config --global user.email ${{ secrets.GITEE_EMAIL }}
21-
git remote add gitee https://${{ secrets.GITEE_USERNAME }}:${{ secrets.GITEE_TOKEN }}@gitee.com/${{ secrets.GITEE_USERNAME }}/HivisionIDPhotos.git
19+
git config --global user.name ${{ vars.GITEE_USERNAME }}
20+
git config --global user.email ${{ vars.GITEE_EMAIL }}
21+
git remote add gitee https://${{ vars.GITEE_USERNAME }}:${{ secrets.GITEE_TOKEN }}@gitee.com/${{ vars.GITEE_USERNAME }}/HivisionIDPhotos.git
2222
git push -f gitee master:master

0 commit comments

Comments
 (0)