Spaces:
Runtime error
Runtime error
update flow
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -15,10 +15,10 @@ jobs:
|
|
15 |
fetch-depth: 0
|
16 |
- name: Add remote
|
17 |
env:
|
18 |
-
|
19 |
# run: git remote add space https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B
|
20 |
run: git remote set-url origin https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B
|
21 |
- name: Push to hub
|
22 |
env:
|
23 |
-
|
24 |
run: git push --force https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B main
|
|
|
15 |
fetch-depth: 0
|
16 |
- name: Add remote
|
17 |
env:
|
18 |
+
HF_WRITE_TOKEN: ${{ secrets.HF_WRITE_TOKEN }}
|
19 |
# run: git remote add space https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B
|
20 |
run: git remote set-url origin https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B
|
21 |
- name: Push to hub
|
22 |
env:
|
23 |
+
HF_WRITE_TOKEN: ${{ secrets.HF_WRITE_TOKEN }}
|
24 |
run: git push --force https://ZequnZ:$HF_WRITE_TOKEN@huggingface.co/spaces/ZequnZ/Chat-with-Mistral-7B main
|