Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Deploy static sites via simple ftp

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .autotest
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.txt
Octocat-spinner-32 Rakefile
Octocat-spinner-32 ftp_deploy.gemspec
README.txt
Install

gem "ftp_deploy"

run "bundle install"


Setup a config:
Define your staging configs inside a file called 'ftp_deploy.yml'

staging:
  host: 'test.host.com'
  user: 'root'
  password: 'root'
  base_dir: './site'
  remote_base_dir: '/var/www/test.host.com' // optional, defaults to user home

Example:

ftp_deploy deploy staging
ftp_deploy deploy production


TODO:
- rollbacks
Something went wrong with that request. Please try again.