danilotpnta commited on
Commit
bdadca3
·
1 Parent(s): 76ed99b

update sync action

Browse files
.github/workflows/sync_to_huggingface_space.yml CHANGED
@@ -13,10 +13,14 @@ jobs:
13
  with:
14
  fetch-depth: 0
15
  lfs: true
 
 
 
 
16
  - name: Pull latest changes from Hugging Face with rebase
17
  env:
18
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
- run: git pull --rebase https://huggingface.co/spaces/danilotpnta/Youtube-Whisper main
20
  - name: Push to hub
21
  env:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
13
  with:
14
  fetch-depth: 0
15
  lfs: true
16
+ - name: Set git committer identity
17
+ run: |
18
+ git config --global user.email "danilotpnta@gmail.com"
19
+ git config --global user.name "danilotpnta"
20
  - name: Pull latest changes from Hugging Face with rebase
21
  env:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
+ run: git pull --rebase https://huggingface.co/spaces/danilotpnta/Youtube-Whisper main --reapply-cherry-picks
24
  - name: Push to hub
25
  env:
26
  HF_TOKEN: ${{ secrets.HF_TOKEN }}