Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Deploy static sites via simple ftp
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib Add rewrite base config
spec
.autotest
.gitignore initial commit
CHANGELOG.md Add Support for erb configs.
Gemfile initial commit
Gemfile.lock initial commit
README.md
Rakefile working release with config file
ftp_deploy.gemspec

README.md

Install

Add this line to yuor Gemfile:

gem "ftp_deploy"

Then run "bundle install"

Configuration

Define your staging configs inside a file called 'ftp_deploy.yml' or 'ftp_deploy.yml.erb'

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
  rewrite_base: '.' # depending on rewrite setting, this must be an absolute path

Running

ftp_deploy deploy staging
ftp_deploy deploy production

TODO

  • rollbacks
Something went wrong with that request. Please try again.