Skip to content

Commit

Permalink
fix: gitee action vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Sep 11, 2024
1 parent 27269db commit 7ca017c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sync-to-gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7ca017c

Please sign in to comment.