Denis Ebby commited on
Commit
7556504
1 Parent(s): 1e81c55

using write token

Browse files
.github/workflows/sync_to_huggingface_hub.yml CHANGED
@@ -15,5 +15,5 @@ jobs:
15
  fetch-depth: 0
16
  - name: Push to hub
17
  env:
18
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
  run: git push --force https://cap99:$HF_TOKEN@huggingface.co/spaces/cap99/ocr main
 
15
  fetch-depth: 0
16
  - name: Push to hub
17
  env:
18
+ HF_TOKEN: ${{ secrets.HF_TOKEN_WRITE }}
19
  run: git push --force https://cap99:$HF_TOKEN@huggingface.co/spaces/cap99/ocr main