From 518f1b4ada11d99790ac651906cda98facf0f2b0 Mon Sep 17 00:00:00 2001 From: progmatic-99 Date: Tue, 12 Mar 2024 23:13:56 +0530 Subject: [PATCH] change git strategy --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d326386..64b92d8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,7 +26,7 @@ jobs: run: | ssh -o StrictHostKeyChecking=no $EC2_USER@$EC2_HOST ' cd /home/ec2-user/rashan - git pull origin master + git reset --hard && git clean -fd && git pull origin master ' - name: Create .env file