SCP with key and password

This commit is contained in:
srueda99
2022-04-18 13:11:00 -05:00
parent 6e2f024bdc
commit e82d84dcdd
5 changed files with 106 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ jobs:
uses: srueda99/scp-action@v1
with:
port: 22
host:
target: "/home"
username:
key:
host: ${{ secrets.SERVER_ADDRESS }}
destination: "/home/${{ secrets.SERVER_USERNAME }}/"
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}