force update

This commit is contained in:
Finley Ghosh 2025-08-10 22:37:11 +10:00
parent 885c02543f
commit 47b9e8e709

View file

@ -34,7 +34,7 @@ ssh $SERVER \
cd "$STAGING_DIR" cd "$STAGING_DIR"
git fetch origin git fetch origin
git checkout $BRANCH git checkout $BRANCH
git pull origin $BRANCH git reset --hard origin/$BRANCH
else else
echo "Cloning repository $REPO to $STAGING_DIR..." echo "Cloning repository $REPO to $STAGING_DIR..."
git clone -b $BRANCH $REPO $STAGING_DIR git clone -b $BRANCH $REPO $STAGING_DIR