mirror of
https://github.com/Zeyi-Lin/HivisionIDPhotos.git
synced 2025-09-15 14:58:34 +08:00
fix: gitee action vars
This commit is contained in:
parent
27269dbd4e
commit
7ca017c3f9
6
.github/workflows/sync-to-gitee.yml
vendored
6
.github/workflows/sync-to-gitee.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user