Jekyll-FTP
Commands
jekyll-ftp deploy
- Deploy your site via FTP with the preconfigured settings.jekyll-ftp clean
- Remove all the files from the preconfiguredremote_dir
.
Installation
Add the gem to your Gemfile
.
# Gemfile
gem 'jekyll-ftp'
Add the gem to your plugins
in your _config.yml
.
# _config.yml
plugins:
- jekyll-ftp
_config.yml
File
Configuring your Since Jekyll uses _config.yml
, Jekyll-FTP uses this too.
Jekyll-FTP needs 3 configuration settings:
username
- Your FTP server username.server_url
- The URL for your FTP server (can also be an FTP).remote_dir
- The remote directory where your site is to be deployed.
username: UserName
server_url: ftp.myserver.com
remote_dir: /public_html