Spaces:
Sleeping
Sleeping
david-oplatka
commited on
Commit
•
5428014
1
Parent(s):
4e4c052
Update update_space_2.yaml
Browse files
.github/workflows/update_space_2.yaml
CHANGED
@@ -34,10 +34,6 @@ jobs:
|
|
34 |
run: |
|
35 |
echo "Changed files:"
|
36 |
echo "${{ steps.changed_files.outputs.value }}"
|
37 |
-
|
38 |
-
- name: Check Git Status
|
39 |
-
run: |
|
40 |
-
git status
|
41 |
|
42 |
- name: Push changed files to Hugging Face
|
43 |
env:
|
@@ -45,7 +41,4 @@ jobs:
|
|
45 |
run: |
|
46 |
changed_files="${{ steps.changed_files.outputs.value }}"
|
47 |
echo "Files to push: $changed_files"
|
48 |
-
|
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
|
|
|
34 |
run: |
|
35 |
echo "Changed files:"
|
36 |
echo "${{ steps.changed_files.outputs.value }}"
|
|
|
|
|
|
|
|
|
37 |
|
38 |
- name: Push changed files to Hugging Face
|
39 |
env:
|
|
|
41 |
run: |
|
42 |
changed_files="${{ steps.changed_files.outputs.value }}"
|
43 |
echo "Files to push: $changed_files"
|
44 |
+
git push https://david-oplatka:$HF_TOKEN@huggingface.co/spaces/david-oplatka/${{ matrix.space_name }}.git HEAD~1:main
|
|
|
|
|
|