cccmatthew commited on
Commit
3beffac
1 Parent(s): a41db12

Change actions

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +4 -4
.github/workflows/main.yml CHANGED
@@ -39,15 +39,15 @@ jobs:
39
  name: Deploy to Development
40
  needs: [Build]
41
  runs-on: ubuntu-latest
42
- # environment:
43
- # name: Dev
44
- # url: 'https://huggingface.co/spaces/cccmatthew/gp30-dev'
45
  steps:
 
 
 
46
  - name: Add remote
47
  env:
48
  HF: ${{ secrets.HF }}
49
  run: git remote add space https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment
50
- - name: Deploy
51
  env:
52
  HF: ${{ secrets.HF }}
53
  run: git push --force https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment main
 
39
  name: Deploy to Development
40
  needs: [Build]
41
  runs-on: ubuntu-latest
 
 
 
42
  steps:
43
+ - uses: actions/checkout@v2
44
+ with:
45
+ fetch-depth: 0
46
  - name: Add remote
47
  env:
48
  HF: ${{ secrets.HF }}
49
  run: git remote add space https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment
50
+ - name: Push to hub
51
  env:
52
  HF: ${{ secrets.HF }}
53
  run: git push --force https://cccmatthew:$HF@huggingface.co/spaces/cccmatthew/gp30-deployment main