Spaces:
Sleeping
Sleeping
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
|
|
|
|
|
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
|