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/