Abdul Jaweed commited on
Commit
60e2fac
·
unverified ·
1 Parent(s): 9cef2e1

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +4 -7
.github/workflows/main.yml CHANGED
@@ -10,14 +10,11 @@ jobs:
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
12
  steps:
13
- - uses: actions/checkout@v2
14
  with:
15
  fetch-depth: 0
16
- - name: Add remote
17
- env:
18
- HF: ${{ secrets.HG }}
19
- run: git remote add space https://huggingface.co/spaces/jaweed123/text-summarization
20
  - name: Push to hub
21
  env:
22
- HF: ${{ secrets.HG }}
23
- run: git push --force https://huggingface.co/spaces/jaweed123/text-summarization main
 
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
12
  steps:
13
+ - uses: actions/checkout@v3
14
  with:
15
  fetch-depth: 0
16
+ lfs: true
 
 
 
17
  - name: Push to hub
18
  env:
19
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push --force https://jaweed123:$HF_TOKEN@huggingface.co/spaces/jaweed123/text-summarization main