docs: add sync-to-hub tip
Browse files
README.md
CHANGED
@@ -106,6 +106,7 @@ git push --force space main
|
|
106 |
```
|
107 |
- [When syncing with Hugging Face via Github Actions](https://huggingface.co/docs/hub/spaces-github-actions) the [User Access Token](https://huggingface.co/docs/hub/security-tokens) created on Hugging Face (HF) should have write access
|
108 |
- Run space from main branch since running from [other branches currently isn't suppported](https://discuss.huggingface.co/t/is-it-possible-to-run-apps-off-of-non-main-branches-in-a-space/18086)
|
|
|
109 |
|
110 |
# Roadmap
|
111 |
|
|
|
106 |
```
|
107 |
- [When syncing with Hugging Face via Github Actions](https://huggingface.co/docs/hub/spaces-github-actions) the [User Access Token](https://huggingface.co/docs/hub/security-tokens) created on Hugging Face (HF) should have write access
|
108 |
- Run space from main branch since running from [other branches currently isn't suppported](https://discuss.huggingface.co/t/is-it-possible-to-run-apps-off-of-non-main-branches-in-a-space/18086)
|
109 |
+
- Ensure integrate remote changes (```git pull```) before push to HF space (```git push --force space main```)
|
110 |
|
111 |
# Roadmap
|
112 |
|