Skip to content

vwochnik/jekyll-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll Deploy Gem Version

Jekyll 3.0-compatible deploy plugin

Jekyll Deploy is a Jekyll plugin which adds a deploy sub-command to the jekyll executable which allows deploy commands to be executed quickly.

Installation

This plugin is available as a RubyGem.

Add this line to your application's Gemfile:

group :jekyll_plugins do
  gem 'jekyll-deploy'
end

And then execute the bundle command to install the gem.

After the plugin has been installed successfully, the deploy sub-command is available for use.

Configuration

The deploy command executes all commands specified in the deploy array inside the site's configuration file as the following example demonstrates:

deploy:
- rsync -aze ssh --delete ./ example.com:www/                

All commands are executed individually within the site's destination directory which is, by default, _site but can be changed with the destination configuration option.

The deploy sub-command supports the built-in --config, --destination and --verbose command line options.

Simply execute jekyll deploy after the site has been built with jekyll build or jekyll serve.

Contribute

Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.

Copyright

Copyright (c) 2015 Vincent Wochnik.

License: MIT

About

Jekyll 3.0-compatible deploy plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages