Skip to content

Commit 5202780

Browse files
committed
attempt 7
1 parent 93f0544 commit 5202780

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ai/docbot/deploy_to_hf.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ git config user.email github-actions[bot]@users.noreply.github.com
4040
echo "Configured git user"
4141
git add .
4242
git commit -m "Commit"
43-
git push --force https://wwwillchen:$HF_TOKEN@huggingface.co/spaces/wwwillchen/mesop-docs-bot main
43+
git remote add hf https://wwwillchen:$HF_TOKEN@huggingface.co/spaces/wwwillchen/mesop-docs-bot || true
44+
git push hf --force
4445

4546
echo "Pushed to: https://huggingface.co/spaces/wwwillchen/mesop-docs-bot. Check the logs to see that it's deployed correctly."

0 commit comments

Comments
 (0)