From 9f8b73e1109d71fa97fdbdb8b126cefddbaec7ac Mon Sep 17 00:00:00 2001 From: Philenst <20720278+Philenst@users.noreply.github.com> Date: Sat, 27 Jul 2024 13:57:01 +0100 Subject: [PATCH] Stash and drop changes --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 94572e5..f3a1c12 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,4 +13,4 @@ jobs: runs-on: self-hosted steps: - name: Deploy new code, install dependencies and start Advance - run: ssh lemres@10.40.10.106 "cd ~/Advance && git pull && npm i && pm2 restart advance && pm2 save" \ No newline at end of file + run: ssh lemres@10.40.10.106 "cd ~/Advance && git stash && git pull && git stash drop && npm i && pm2 restart advance && pm2 save" \ No newline at end of file