Fix correct repo url

This commit is contained in:
JP Hastings-Spital 2024-07-16 22:15:48 +01:00
parent 9dad826716
commit f1ed551721

View file

@ -7,7 +7,7 @@
# This script assumes it is being executed at the root of the byjp.fyi repo
gitRoot=$(git rev-parse --show-toplevel) || { echo "Please run inside the byjp.fyi git repo"; exit 1; }
if [[ "$(git remote get-url origin)" != "https://github.com/by-jp/byjp.fyi.git" ]]; then
if [[ "$(git remote get-url origin)" != "https://github.com/by-jp/byjp.fyi" ]]; then
echo "This repo doesn't have the byjp.fyi repo as the origin"
git remote -v
exit 2