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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user