cccmatthew commited on
Commit
aefc56f
1 Parent(s): 694c2b9

Change actions

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +4 -1
.github/workflows/main.yml CHANGED
@@ -57,11 +57,14 @@ jobs:
57
  needs: [DeployDev]
58
  runs-on: ubuntu-latest
59
  steps:
 
 
 
60
  - name: Add remote
61
  env:
62
  HF: ${{ secrets.HF }}
63
  run: git remote add space https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment
64
- - name: Deploy
65
  env:
66
  HF: ${{ secrets.HF }}
67
  run: git push --force https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment main
 
57
  needs: [DeployDev]
58
  runs-on: ubuntu-latest
59
  steps:
60
+ - uses: actions/checkout@v2
61
+ with:
62
+ fetch-depth: 0
63
  - name: Add remote
64
  env:
65
  HF: ${{ secrets.HF }}
66
  run: git remote add space https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment
67
+ - name: Push to hub
68
  env:
69
  HF: ${{ secrets.HF }}
70
  run: git push --force https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment main