Created
October 13, 2013 18:54
-
-
Save JesseHerrick/6965950 to your computer and use it in GitHub Desktop.
Example config file for jekyll-ftp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Your New Jekyll Site | |
markdown: redcarpet | |
pygments: true | |
username: UserName | |
server_url: ftp.myserver.com | |
remote_dir: /public_html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 runningcat /path/to/file/with/password | jekyll-ftp deploy
.