Update main.yml

This commit is contained in:
Alexander Nozik 2020-06-25 17:42:01 +03:00 committed by GitHub
parent 32a6137ecb
commit 242a5004b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +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: ${{ secrets.NPM_GITHUB_PRIVATE_KEY }} key: ${{ secrets.NPM_GITHUB_PRIVATE_KEY }}
source: "public/*" source: "public/*"
target: "/home/webmaster/html/" target: "/home/webmaster/html/"