We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f0544 commit 5202780Copy full SHA for 5202780
ai/docbot/deploy_to_hf.sh
@@ -40,6 +40,7 @@ git config user.email github-actions[bot]@users.noreply.github.com
40
echo "Configured git user"
41
git add .
42
git commit -m "Commit"
43
-git push --force https://wwwillchen:$HF_TOKEN@huggingface.co/spaces/wwwillchen/mesop-docs-bot main
+git remote add hf https://wwwillchen:$HF_TOKEN@huggingface.co/spaces/wwwillchen/mesop-docs-bot || true
44
+git push hf --force
45
46
echo "Pushed to: https://huggingface.co/spaces/wwwillchen/mesop-docs-bot. Check the logs to see that it's deployed correctly."
0 commit comments