No commit activity in last 3 years
No release in over 3 years
Deploy your Photish site via SSH using rsync
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
~> 3.0
 Project Readme

Photish::Plugin::Sshdeploy

This is a simple Deployment Engine Plugin for Photish using SSH.

Install

To install it, simple include the Gem in your Gemfile:

./Gemfile

gem 'photish-plugin-sshdeploy'

And in your Photish config, ensure it is listed in your plugins Config File Option.

./config.yml

plugins: ['photish/plugin/sshdeploy']

Then run bundle install.

Now that it is installed, once you have configured it, use photish deploy --engine=ssh to run it.

Configure

This deployment engine requires certain values being present in your config.yml file.

deploy:
  host: foinq.com                                   # the host to connect and deploy too
  publish_dir: /srv/www/foinq.com/photish-montage   # the directory to copy files too
  publish_temp_dir: /tmp/photish-montage-publish    # the temporary directory to extract files too
  upload_temp_dir: /tmp/photish-montage-upload      # the temporary directory to upload files too
  www_user: www-fqc                                 # the unix user account to finally copy the files under

It also requires that you have configured your ~/.ssh/config file with the login details of the host you wish to upload too. See here for a simple guide.

Example usage

An example usage can be seen in the Photish Montage demo.

License

The gem is available as open source under the terms of the MIT License.