Skip to content

nobodyiscertain/Jekyll-Rake-RSync-Deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Jekyll-Rake-RSync-Deploy

A rake task for RSync Deployment in Jekyll.

Creates rake tasks for Jekyll Deploy and Launch.

Uses environments set up in _config.yml like so:

environments:
  stage:
    url: http://stage.example.com
    remote:
      connection: user@example.com
      path: /var/www/
      port: 12345 #optional
  production:
    url: http://production.example.com
    remote:
      connection: user@example.com
      path: /var/www/

Usage

=====

To deploy the site, run rake deploy

To deploy a different environment, run rake deploy env=production

The same applies for launch:

rake launch
rake launch env=production

This command will open the environment in your default browser

Defaults

========

env=stage

Notes and Thanks

================

Note: Do not include a trailing slash on your destination variable in _config.yml

Thanks to henrik for the rsync bash script that I stole to make this.

*nix, mac only

About

A rake task for RSync Deployment in Jekyll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%