david-oplatka commited on
Commit
9f8c6e3
·
unverified ·
1 Parent(s): bfa50c4

Update update_space_2.yaml

Browse files
.github/workflows/update_space_2.yaml CHANGED
@@ -24,15 +24,6 @@ jobs:
24
  git config --global user.email "[email protected]"
25
  git config --global user.name "GitHub Actions"
26
 
27
- - name: Install huggingface_hub
28
- run: pip install huggingface_hub
29
-
30
- - name: Login to Hugging Face (use secret token)
31
- env:
32
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
33
- run: |
34
- huggingface-cli login --token $HF_TOKEN
35
-
36
  - name: Get changed files
37
  id: changed_files
38
  run: |
@@ -40,6 +31,8 @@ jobs:
40
  git diff --name-only HEAD~1 HEAD
41
 
42
  - name: Push only changed files (loop through each space)
 
 
43
  run: |
44
  changed_files=$(echo "${{ steps.changed_files.outputs.value }}")
45
  for file in $changed_files; do
 
24
  git config --global user.email "[email protected]"
25
  git config --global user.name "GitHub Actions"
26
 
 
 
 
 
 
 
 
 
 
27
  - name: Get changed files
28
  id: changed_files
29
  run: |
 
31
  git diff --name-only HEAD~1 HEAD
32
 
33
  - name: Push only changed files (loop through each space)
34
+ env:
35
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
36
  run: |
37
  changed_files=$(echo "${{ steps.changed_files.outputs.value }}")
38
  for file in $changed_files; do