Skip to content

Commit a146103

Browse files
author
River@devbox
committed
Update deploy to force push
1 parent f62eec5 commit a146103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ else
6969
echo "Committed: $COMMIT_MSG"
7070
fi
7171

72-
# Push to remote
72+
# Push to remote with force (gh-pages is safe to force push)
7373
read -p "Push to origin/gh-pages? (y/N) " -n 1 -r
7474
echo
7575
if [[ $REPLY =~ ^[Yy]$ ]]; then
76-
git push origin gh-pages
76+
git push origin gh-pages --force
7777
echo ""
7878
echo "Deployed successfully!"
7979
echo "Site will be available at: https://qpython-android.github.io/qpython.org/"
8080
else
81-
echo "Push aborted. You can push manually with: git push origin gh-pages"
81+
echo "Push aborted. You can push manually with: git push origin gh-pages --force"
8282
fi
8383

8484
# Cleanup

0 commit comments

Comments
 (0)