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
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.WEBMASTER_USERNAME }}
password: ${{ secrets.WEBMASTER_PASSWORD }}
key: ${{ NPM_GITHUB_PRIVATE_KEY }}
source: "public/*"
target: "/home/webmaster/html/"
overwrite: true