Spaces:
Sleeping
Sleeping
deepakpant commited on
Commit ·
17232f4
1
Parent(s): a85fed6
modified the deployment
Browse files
.github/workflows/hugging_face-deploy.yml
CHANGED
|
@@ -20,16 +20,9 @@ jobs:
|
|
| 20 |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
| 21 |
git config --global user.name "github-actions[bot]"
|
| 22 |
|
| 23 |
-
- name: Setup deployment directory
|
| 24 |
-
run: |
|
| 25 |
-
mkdir deploy
|
| 26 |
-
cp -r ./* deploy/
|
| 27 |
-
cd deploy
|
| 28 |
-
|
| 29 |
- name: Push to Hugging Face Space
|
| 30 |
env:
|
| 31 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 32 |
run: |
|
| 33 |
-
cd deploy
|
| 34 |
git remote add space https://USER:$HF_TOKEN@huggingface.co/spaces/deepakpant/report-genie
|
| 35 |
git push --force space main
|
|
|
|
| 20 |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
| 21 |
git config --global user.name "github-actions[bot]"
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
- name: Push to Hugging Face Space
|
| 24 |
env:
|
| 25 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 26 |
run: |
|
|
|
|
| 27 |
git remote add space https://USER:$HF_TOKEN@huggingface.co/spaces/deepakpant/report-genie
|
| 28 |
git push --force space main
|