Spaces:
Sleeping
Sleeping
dani-ange
commited on
Update train-deploy.yaml
Browse files
.github/workflows/train-deploy.yaml
CHANGED
@@ -27,9 +27,7 @@ jobs:
|
|
27 |
- name: Authenticate with Hugging Face
|
28 |
run: |
|
29 |
huggingface-cli login --token "${{ secrets.HUGGINGFACE_API_TOKEN }}" --add-to-git-credential
|
30 |
-
|
31 |
-
run: huggingface-cli download danielle2003/diabeties-ml --repo-type space --local-dir diabetes-ml
|
32 |
-
|
33 |
- name: Deploy to Hugging Face
|
34 |
env:
|
35 |
HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
|
@@ -38,6 +36,6 @@ jobs:
|
|
38 |
git config --global user.email "[email protected]"
|
39 |
git config --global user.name "dani-ange"
|
40 |
git add .
|
41 |
-
git commit -m "Updated model
|
42 |
git lfs migrate import --everything --include "*.joblib"
|
43 |
git push https://danielle2003:[email protected]/spaces/danielle2003/diabeties-ml
|
|
|
27 |
- name: Authenticate with Hugging Face
|
28 |
run: |
|
29 |
huggingface-cli login --token "${{ secrets.HUGGINGFACE_API_TOKEN }}" --add-to-git-credential
|
30 |
+
|
|
|
|
|
31 |
- name: Deploy to Hugging Face
|
32 |
env:
|
33 |
HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
|
|
|
36 |
git config --global user.email "[email protected]"
|
37 |
git config --global user.name "dani-ange"
|
38 |
git add .
|
39 |
+
git commit -m "Updated model"
|
40 |
git lfs migrate import --everything --include "*.joblib"
|
41 |
git push https://danielle2003:[email protected]/spaces/danielle2003/diabeties-ml
|