-
-
Save JesseHerrick/6965950 to your computer and use it in GitHub Desktop.
name: Your New Jekyll Site | |
markdown: redcarpet | |
pygments: true | |
username: UserName | |
server_url: ftp.myserver.com | |
remote_dir: /public_html |
How do you set the password?
you'll be prompted by jekyll-ftp
. If you do not want to (or cannot) answer the prompt you can provide the password to stdin like
echo 'supersecurepassword' | jekyll-ftp deploy
How do you set the password?
you'll be prompted by
jekyll-ftp
. If you do not want to (or cannot) answer the prompt you can provide the password to stdin likeecho 'supersecurepassword' | jekyll-ftp deploy
Sorry but I don't know how to do the stdin file, can you be more explicit in the steps please?
How do you set the password?
you'll be prompted by
jekyll-ftp
. If you do not want to (or cannot) answer the prompt you can provide the password to stdin likeecho 'supersecurepassword' | jekyll-ftp deploySorry but I don't know how to do the stdin file, can you be more explicit in the steps please?
There's really not much to it. If you run jekyll-ftp deploy
it will ask (prompt) you for the password to your ftp server (matching the username that you specified in _config.yml
). For manual deployments, this should be sufficient.
Only if you intend to run this in an automated manner (e.g. as part of a CI/CD pipeline), you may need a way to bypass the prompt and directly provide the password either by hardcoding the password into the command like echo 'supersecurepassword' | jekyll-ftp deploy
or by putting the password into a file somewhere and running cat /path/to/file/with/password | jekyll-ftp deploy
.
How do you set the password?