Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change commit message during deploy #90

Open
christopherjanzen opened this issue Jun 17, 2015 · 2 comments
Open

Change commit message during deploy #90

christopherjanzen opened this issue Jun 17, 2015 · 2 comments

Comments

@christopherjanzen
Copy link

I'm wondering if it would be possible to add a feature of changing the commit message during the deploy command. Maybe during deploy ask for message or just use default. I'm not sure if that's already available but I didn't see it. Nor do I know if it's a feasible request.

@mojavelinux
Copy link

You can modify the commit message using the commit_message setting.

For example:

activate :deploy do |deploy|
  deploy.deploy_method = :git
  deploy.remote = 'origin'
  deploy.branch = 'gh-pages'
  deploy.commit_message = 'Publish to GitHub pages via Travis CI'
end

@dcastil
Copy link

dcastil commented Mar 2, 2018

It would be nice to show the commit_message property in the deployment docs. I searched for this info for so long!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants