Changed deploy to key-based
This commit is contained in:
parent
bb8a354aad
commit
a3c8a29503
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user