We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62eec5 commit a146103Copy full SHA for a146103
deploy.sh
@@ -69,16 +69,16 @@ else
69
echo "Committed: $COMMIT_MSG"
70
fi
71
72
-# Push to remote
+# Push to remote with force (gh-pages is safe to force push)
73
read -p "Push to origin/gh-pages? (y/N) " -n 1 -r
74
echo
75
if [[ $REPLY =~ ^[Yy]$ ]]; then
76
- git push origin gh-pages
+ git push origin gh-pages --force
77
echo ""
78
echo "Deployed successfully!"
79
echo "Site will be available at: https://qpython-android.github.io/qpython.org/"
80
else
81
- echo "Push aborted. You can push manually with: git push origin gh-pages"
+ echo "Push aborted. You can push manually with: git push origin gh-pages --force"
82
83
84
# Cleanup
0 commit comments