No commit activity in last 3 years
No release in over 3 years
A task for Capistrano v3 to add, commit and push changes to git repo if there are any changes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 3.1.0, ~> 3.1
 Project Readme

capistrano3-git-push

This Capistrano (v3) task ask for the commit message and then makes

git add -A
git commit -m '#{message}'
git push

if there are any changes. You can skip it by typing skip when you are asked for the commit message. It is very handy to make it

before :deploy, 'git:push'

in config/deploy.rb.

Installation

Add this line to your application's Gemfile:

group :development do
	gem 'capistrano3-git-push'
end

And then execute:

$ bundle

And then add require 'capistrano3/git-push' to your Capfile

My other works

Take a look at my capistrano3-ubuntu-server-prepare (it can install Nginx, PostgreSQL, Redis, RVM, Rails, Bundler, Imagemagick and do some other helpfull things to prepare your blank Ubuntu server for the first deploy) and capistrano3-delayed-job (delayed-job daemon management) Capistrano (v3) gems.