Commit
·
8c58f7a
1
Parent(s):
f301328
Fixed YML
Browse files
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -18,12 +18,6 @@ jobs:
|
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }} # The PAT you stored in GitHub secrets
|
| 20 |
run: |
|
| 21 |
-
# Replace HF_USERNAME with your Hugging Face username
|
| 22 |
-
# Replace SPACE_NAME with the name of your Hugging Face Space
|
| 23 |
-
# Example: git remote add space https://dylangamachefl:${HF_TOKEN}@huggingface.co/spaces/HF_USERNAME/SPACE_NAME
|
| 24 |
git remote add space https://YOUR_HUGGING_FACE_USERNAME:${HF_TOKEN}@huggingface.co/spaces/dylangamachefl/hf-text-translator
|
| 25 |
|
| 26 |
-
# Force push to the main branch of your Space.
|
| 27 |
-
# Use --force if you want to overwrite the Space's history.
|
| 28 |
-
# Be cautious with --force, especially if others might be working on the Space's repo directly.
|
| 29 |
git push --force space main
|
|
|
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }} # The PAT you stored in GitHub secrets
|
| 20 |
run: |
|
|
|
|
|
|
|
|
|
|
| 21 |
git remote add space https://YOUR_HUGGING_FACE_USERNAME:${HF_TOKEN}@huggingface.co/spaces/dylangamachefl/hf-text-translator
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
git push --force space main
|