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

Add rewrite base config

latest commit 2c67b96bb2
Flavio Pellanda authored
Failed to load latest commit information.
bin
lib
spec
.autotest
.gitignore initial commit
CHANGELOG.md Add Support for erb configs.
Gemfile
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.