Coder Social home page Coder Social logo

jekyll-rake-rsync-deploy's Introduction

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: [email protected]
      path: /var/www/
      port: 12345 #optional
  production:
    url: http://production.example.com
    remote:
      connection: [email protected]
      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

jekyll-rake-rsync-deploy's People

Contributors

kbalderson avatar nobodyiscertain avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.