Skip to content

Commit 4df5b12

Browse files
committed
attempt 4
1 parent 3be695e commit 4df5b12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ai/docbot/deploy_to_hf.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ echo "Demo files have been copied to $DEST_PATH"
3434
cd "$DEST_PATH"
3535
echo "Changed directory to $DEST_PATH"
3636

37-
git init
37+
git config user.name github-actions[bot]
38+
git config user.email github-actions[bot]@users.noreply.github.com
39+
echo "Configured git user"
3840

41+
git init
3942
git add .
40-
4143
git commit -m "Commit"
42-
4344
git push hf --force
44-
4545
git push --force https://wwwillchen:$HF_TOKEN@huggingface.co/spaces/wwwillchen/mesop-docs-bot main
4646

4747
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)