From c47227925cbdaa9779ae96296659830c0f869d70 Mon Sep 17 00:00:00 2001 From: Vincent Ahrend Date: Fri, 5 Jun 2020 14:29:03 +0200 Subject: [PATCH 1/2] Fix missing argument in action.yml --- action.yml | 3 +++ 1 file changed, 3 insertions(+) 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' From 4aadb4a381dca5540dfa3aa1639b9e224619adf3 Mon Sep 17 00:00:00 2001 From: Vincent Ahrend Date: Fri, 5 Jun 2020 14:32:27 +0200 Subject: [PATCH 2/2] Fix known hosts example to include known-hosts arg --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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