Merge pull request #81 from ciex/master

Fix problem setting up known-hosts
This commit is contained in:
Sam Kirkland 2020-07-16 11:09:30 -05:00 committed by GitHub
commit 79e6bdd312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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'