From d3a504857a892bc9cc2e3720581e22aa7d5ebf12 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Mon, 2 Jun 2025 05:33:46 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8B=20ci:=20update=20dev=20deployment?= =?UTF-8?q?=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-dev.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index ed56fa4d82..a255932e3e 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -30,6 +30,7 @@ jobs: DO_USER: ${{ secrets.DO_USER }} run: | ssh -o StrictHostKeyChecking=no ${DO_USER}@${DO_HOST} << EOF + sudo -i -u danny bash << 'EEOF' cd ~/LibreChat && \ git fetch origin main && \ sudo npm run stop:deployed && \ @@ -41,4 +42,5 @@ jobs: git rebase dev && \ sudo npm run start:deployed && \ echo "Update completed. Application should be running now." + EEOF EOF