Easily set up deploy scripts using githooks.
brew install elorest/crystal/git_deploy
clone, cd and run make :)
> git_deploy
command [OPTIONS] PATH
Arguments:
PATH ssh path. Example: [email protected]:/home/deploy/www/website
Options:
-e, --environment environment
(default: AMBER_ENV=production)
-r, --remote deployment remote for git. Default: production
(default: production)
git_deploy -r production -e 'PORT=80 AMBER_ENV=production' [email protected]:/home/deploy/crystalweb
- Fork it ( https://github.com/elorest/git_deploy/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- elorest Isaac Sloan - creator, maintainer