david-oplatka commited on
Commit
4812b9b
·
unverified ·
1 Parent(s): 3cf1e97

Update update_space_2.yaml

Browse files
.github/workflows/update_space_2.yaml CHANGED
@@ -44,5 +44,7 @@ jobs:
44
  for file in $changed_files; do
45
  git add $file
46
  git commit -m "Updating $file"
47
- git push https://david-oplatka:$HF_TOKEN@huggingface.co/spaces/david-oplatka/${{ github.event.repository.name }}.git main
 
 
48
  done
 
44
  for file in $changed_files; do
45
  git add $file
46
  git commit -m "Updating $file"
47
+ git remote add ${{ matrix.space_name }} <https://huggingface.co/spaces/david-oplatka/$>{{ matrix.space_name }}.git
48
+ git config --add remote.${{ matrix.space_name }}.oauth_token ${{ secrets.HF_TOKEN }}
49
+ git push ${{ matrix.space_name }} main
50
  done