mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Merge pull request #81 from ciex/master
Fix problem setting up known-hosts
This commit is contained in:
commit
79e6bdd312
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user