From ab3a9cd4dc4a55dbbc0ce1c3a9217f4080f55612 Mon Sep 17 00:00:00 2001 From: ONEPANTSU Date: Tue, 5 Mar 2024 16:53:02 +0300 Subject: [PATCH] fix: deploy.yml --- .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 91ffbe4..b8455b9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: - name: SSH into server and deploy run: | - sshpass -p ${{ secrets.SERVER_PASSWORD }} ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }} + sshpass -p ${{ secrets.SERVER_PASSWORD }} ssh -p -tt ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }} cd /home/ivan cd teamapp || cd mkdir teamapp && cd teamapp && git clone https://github.com/SoftBananas/teamapp-backend.git && git pull