diff --git a/README.md b/README.md index 03c40f1..10a210e 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,9 @@ jobs: ftp-server: sftp://ftp.samkirkland.com:7280/ ftp-username: mySFTPUsername ftp-password: ${{ secrets.SFTP_PASSWORD }} - git-ftp-args: --insecure # if your certificate is setup correctly this can be removed (see known-hosts argument) + known-hosts: [samkirkland.com]:7822 ssh-rsa AAAA...5Spw== + # add the following line instead if your certificate is setup incorrectly + # git-ftp-args: --insecure ``` ### Build and Publish React/Angular/Vue Website diff --git a/action.yml b/action.yml index b297640..6ca02a8 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,9 @@ inputs: description: 'Passes through options into git-ftp' default: required: false + known-hosts: + description: The desired content of your `.ssh/known_hosts` file + required: false runs: using: 'docker' image: 'Dockerfile'