yourusername commited on
Commit
6dec358
1 Parent(s): 78cc3f9

:construction_worker: update CI to rebase

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_to_hub.yaml +7 -9
.github/workflows/sync_to_hub.yaml CHANGED
@@ -21,12 +21,10 @@ jobs:
21
  env:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
  GIT_LFS_SKIP_SMUDGE: 1
24
- # Forcing for first push, then will switch to do below commented section
25
- run: git push https://nateraw:$HF_TOKEN@huggingface.co/spaces/huggingface/data-measurements-tool-2 main --force
26
- # run: |
27
- # git config --global user.email "naterawdata@gmail.com"
28
- # git config --global user.name "nateraw"
29
- # git remote add hf https://nateraw:$HF_TOKEN@huggingface.co/spaces/huggingface/data-measurements-tool-2
30
- # git fetch --all --prune
31
- # git rebase hf/main
32
- # git push https://nateraw:$HF_TOKEN@huggingface.co/spaces/huggingface/data-measurements-tool-2 main
 
21
  env:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
  GIT_LFS_SKIP_SMUDGE: 1
24
+ run: |
25
+ git config --global user.email "naterawdata@gmail.com"
26
+ git config --global user.name "nateraw"
27
+ git remote add hf https://nateraw:$HF_TOKEN@huggingface.co/spaces/huggingface/data-measurements-tool-2
28
+ git fetch --all --prune
29
+ git rebase hf/main
30
+ git push https://nateraw:$HF_TOKEN@huggingface.co/spaces/huggingface/data-measurements-tool-2 main