kohlin commited on
Commit
113c756
·
1 Parent(s): 0c956cc

Update hf-deploy.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/hf-deploy.yml +3 -3
.github/workflows/hf-deploy.yml CHANGED
@@ -21,10 +21,10 @@ jobs:
21
  - name: Clone Hugging Face Space Repository
22
  env:
23
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
24
- HF_REPO: kohlin/nlp-spacy # <-- Replace with your Hugging Face Space repo name.
25
  run: |
26
  # Clone the HF space repo into a folder named "space-repo"
27
- git clone https://[email protected]/${HF_REPO} space-repo
28
 
29
  - name: Copy Files to Hugging Face Space Repo
30
  run: |
@@ -39,4 +39,4 @@ jobs:
39
  cd space-repo
40
  git add .
41
  git commit -m "Deploy updated app from GitHub Actions" || echo "No changes to commit"
42
- git push https://[email protected]/${HF_REPO}.git
 
21
  - name: Clone Hugging Face Space Repository
22
  env:
23
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
24
+ HF_REPO: kohlin/nlp-spacy # Replace with your Hugging Face Space repo name.
25
  run: |
26
  # Clone the HF space repo into a folder named "space-repo"
27
+ git clone https://${HF_TOKEN}@huggingface.co/${HF_REPO}.git space-repo
28
 
29
  - name: Copy Files to Hugging Face Space Repo
30
  run: |
 
39
  cd space-repo
40
  git add .
41
  git commit -m "Deploy updated app from GitHub Actions" || echo "No changes to commit"
42
+ git push https://${HF_TOKEN}@huggingface.co/${HF_REPO}.git