File size: 324 Bytes
7476873 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/bash
# Use the first argument as the commit message, or default to "Update book content"
COMMIT_MSG=${1:-"Update book content"}
echo "Staging changes..."
git add .
echo "Committing with message: '$COMMIT_MSG'"
git commit -m "$COMMIT_MSG"
echo "Pushing to Hugging Face Spaces..."
git push origin main
echo "Done!" |