0.0
No commit activity in last 3 years
No release in over 3 years
A Middleman extension to deploy via rsync
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

middleman-rsync

Deploy middleman sites via rsync.

The site is built locally and then the ./build directory is transported to the server via rsync.

Installation

Add it to your Gemfile:

gem "middleman-rsync"

Bundle:

$ bundle install

Configure your environments in config.rb:

activate :rsync do |rsync|
  rsync.production_server = "myapp.com"
  rsync.staging_server = "staging.myapp.com"
  rsync.path = "/path/to/middleman/app/on/servers"
  rsync.user = "rsync_user"

  # Optional:
  rsync.rsync_flags, "--compress --archive --delete -v"
end

Usage

Production:

$ middleman rsync production

Staging (optional):

$ middleman rsync staging