MooseML commited on
Commit
8466865
·
1 Parent(s): 64cc0d5

added fetch-depth to yaml for actions

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yaml +4 -2
.github/workflows/deploy.yaml CHANGED
@@ -1,4 +1,4 @@
1
- name: Deploy to HuggingFace Space
2
 
3
  on:
4
  push:
@@ -10,12 +10,14 @@ jobs:
10
 
11
  steps:
12
  - uses: actions/checkout@v4 # pulls repo
 
 
13
 
14
  - name: Push repo to HF Space
15
  env:
16
  HF_TOKEN: ${{ secrets.HF_TOKEN }} # GitHub secret with write scope
17
  run: |
18
- git config --global user.email "ci@github"
19
  git config --global user.name "github-ci"
20
 
21
  # add (or update) the remote exactly once
 
1
+ name: Deploy to Hugging Face Space
2
 
3
  on:
4
  push:
 
10
 
11
  steps:
12
  - uses: actions/checkout@v4 # pulls repo
13
+ with:
14
+ fetch-depth: 0
15
 
16
  - name: Push repo to HF Space
17
  env:
18
  HF_TOKEN: ${{ secrets.HF_TOKEN }} # GitHub secret with write scope
19
  run: |
20
+ git config --global user.email "ci@github.com"
21
  git config --global user.name "github-ci"
22
 
23
  # add (or update) the remote exactly once