david-oplatka commited on
Commit
4e4c052
1 Parent(s): 0acc723

Update update_space_2.yaml

Browse files
.github/workflows/update_space_2.yaml CHANGED
@@ -46,7 +46,6 @@ jobs:
46
  changed_files="${{ steps.changed_files.outputs.value }}"
47
  echo "Files to push: $changed_files"
48
  for file in $changed_files; do
49
- git remote add ${{ matrix.space_name }} https://huggingface.co/spaces/david-oplatka/${{ matrix.space_name }}.git
50
- git config --add remote.${{ matrix.space_name }}.oauth_token ${{ secrets.HF_TOKEN }}
51
- git push ${{ matrix.space_name }} main
52
  done
 
46
  changed_files="${{ steps.changed_files.outputs.value }}"
47
  echo "Files to push: $changed_files"
48
  for file in $changed_files; do
49
+ git remote add space https://david-oplatka:$HF_TOKEN@huggingface.co/spaces/david-oplatka/${{ matrix.space_name }}.git
50
+ git push space main
 
51
  done