Changed deploy to key-based

This commit is contained in:
Alexander Nozik 2020-06-25 17:30:09 +03:00
parent bb8a354aad
commit a3c8a29503

View File

@ -21,8 +21,7 @@ jobs:
uses: appleboy/scp-action@master uses: appleboy/scp-action@master
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.WEBMASTER_USERNAME }} key: ${{ NPM_GITHUB_PRIVATE_KEY }}
password: ${{ secrets.WEBMASTER_PASSWORD }}
source: "public/*" source: "public/*"
target: "/home/webmaster/html/" target: "/home/webmaster/html/"
overwrite: true overwrite: true