david-oplatka commited on
Commit
ec24648
·
unverified ·
1 Parent(s): 1289a5a

Update update_space_2.yaml

Browse files
.github/workflows/update_space_2.yaml CHANGED
@@ -28,14 +28,13 @@ jobs:
28
  id: changed_files
29
  run: |
30
  git fetch origin
31
- updated_files=$(git diff --name-only HEAD~1 HEAD || true)
32
- echo "${updated_files}"
33
 
34
  - name: Push only changed files (loop through each space)
35
  env:
36
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
37
  run: |
38
- changed_files=$(echo "${{ steps.changed_files.outputs.value }}")
39
  for file in $changed_files; do
40
  git add $file
41
  git commit -m "Updating $file"
 
28
  id: changed_files
29
  run: |
30
  git fetch origin
31
+ git diff --name-only HEAD~1 HEAD || true
 
32
 
33
  - name: Push only changed files (loop through each space)
34
  env:
35
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
36
  run: |
37
+ changed_files="${{ steps.changed_files.outputs.value }}"
38
  for file in $changed_files; do
39
  git add $file
40
  git commit -m "Updating $file"