Bashir Gulistani commited on
Commit
3019f27
·
unverified ·
1 Parent(s): f81b4d9

Update deploy.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +2 -2
.github/workflows/deploy.yml CHANGED
@@ -13,7 +13,7 @@ jobs:
13
  - name: Checkout repository
14
  uses: actions/checkout@v3
15
  with:
16
- fetch-depth: 0 # This will fetch the entire history to make it unshallow
17
 
18
  - name: Set up Git user
19
  run: |
@@ -22,7 +22,7 @@ jobs:
22
 
23
  - name: Add Hugging Face remote and push to Spaces
24
  env:
25
- HF_TOKEN: ${{ secrets.CASE_STUDY_1_SECRET }} # Use the stored Hugging Face token
26
  run: |
27
  git remote add space https://huggingface.co/spaces/BashirG/dis-background-removal-duplicated
28
  git push --force "https://huggingface.co:${HF_TOKEN}@huggingface.co/spaces/BashirG/dis-background-removal-duplicated" main
 
13
  - name: Checkout repository
14
  uses: actions/checkout@v3
15
  with:
16
+ fetch-depth: 0
17
 
18
  - name: Set up Git user
19
  run: |
 
22
 
23
  - name: Add Hugging Face remote and push to Spaces
24
  env:
25
+ HF_TOKEN: ${{ secrets.CASE_STUDY_1_SECRET }}
26
  run: |
27
  git remote add space https://huggingface.co/spaces/BashirG/dis-background-removal-duplicated
28
  git push --force "https://huggingface.co:${HF_TOKEN}@huggingface.co/spaces/BashirG/dis-background-removal-duplicated" main