Skip to content

Commit 79e6bdd

Browse files
authored
Merge pull request #81 from ciex/master
Fix problem setting up known-hosts
2 parents da0d77f + 4aadb4a commit 79e6bdd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ jobs:
264264
ftp-server: sftp://ftp.samkirkland.com:7280/
265265
ftp-username: mySFTPUsername
266266
ftp-password: ${{ secrets.SFTP_PASSWORD }}
267-
git-ftp-args: --insecure # if your certificate is setup correctly this can be removed (see known-hosts argument)
267+
known-hosts: [samkirkland.com]:7822 ssh-rsa AAAA...5Spw==
268+
# add the following line instead if your certificate is setup incorrectly
269+
# git-ftp-args: --insecure
268270
```
269271

270272
### Build and Publish React/Angular/Vue Website

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ inputs:
1919
description: 'Passes through options into git-ftp'
2020
default:
2121
required: false
22+
known-hosts:
23+
description: The desired content of your `.ssh/known_hosts` file
24+
required: false
2225
runs:
2326
using: 'docker'
2427
image: 'Dockerfile'

0 commit comments

Comments
 (0)