From af3a5a02b269567719ebaa0cfc8c1231122eaf4d Mon Sep 17 00:00:00 2001 From: Mufassil Yasir Date: Fri, 22 Dec 2023 19:52:24 +0500 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 68ae3f2b..e5131d50 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ name: Deploy -# + on: push: branches: [ main ] @@ -16,7 +16,7 @@ jobs: with: HOST: ${{ secrets.HOST }} USERNAME: ${{ secrets.USER }} - PASSWORD: ${{ secrets.PASS }} + KEY: ${{ secrets.PASS }} PORT: 22 source: ./ target: /var/www/czqoprod/ @@ -26,7 +26,7 @@ jobs: with: HOST: ${{ secrets.HOST }} USERNAME: ${{ secrets.USER }} - PASSWORD: ${{ secrets.PASS }} + KEY: ${{ secrets.PASS }} PORT: 22 script: | cd /var/www/czqoprod/