Albert Villanova del Moral commited on
Commit
3a5da88
·
1 Parent(s): 373e825

Add github-actions user and remove HF username/token

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +3 -1
.github/workflows/deploy.yml CHANGED
@@ -23,9 +23,11 @@ jobs:
23
  python build_metadata_file.py
24
  - name: Commit metadata file
25
  run: |
 
 
26
  git add -f metadata_*
27
  git commit -m "Add metadata file"
28
  - name: Push to Hub
29
  env:
30
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
31
- run: git push --force https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/albertvillanova/datasets-tagging main
 
23
  python build_metadata_file.py
24
  - name: Commit metadata file
25
  run: |
26
+ git config user.name github-actions
27
+ git config user.email github-actions@github.com
28
  git add -f metadata_*
29
  git commit -m "Add metadata file"
30
  - name: Push to Hub
31
  env:
32
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
33
+ run: git push --force https://huggingface.co/spaces/albertvillanova/datasets-tagging main