From 95c8f1e1ed907bca653b0bc04e55664716436f3b Mon Sep 17 00:00:00 2001 From: CCS Admin Date: Fri, 27 Feb 2026 13:49:50 +0000 Subject: [PATCH] fix(ci): use git reset instead of pull to handle Plesk file checkout state --- .github/workflows/deploy-production.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index fcd5638..497622c 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -27,8 +27,9 @@ jobs: export PATH=/opt/plesk/node/22/bin:/usr/local/bin:/usr/bin:/bin cd /var/www/vhosts/sensualmoment.de/httpdocs - echo "--- Git pull ---" - git pull origin main + echo "--- Git fetch + reset ---" + git fetch origin main + git reset --hard origin/main echo "--- Update payload-contracts ---" npm update @c2s/payload-contracts