git_deploy

Version, currently 0.2.03 versions

github.com/elorest/git_deploy

git deploy for crystal web apps.

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  git_deploy:
    github: elorest/git_deploy
    version: ~> 0.2.0

Then run:

shards install

shard.yml

Crystal
0.23.1
License
MIT
Author
Isaac Sloan
Target
  • git_deploy from src/git_deploy.cr

Dependencies

Runtime Dependencies

  • cli~> 0.7.0github: amberframework/cli

README

Git Deploy for Crystal

Easily set up deploy scripts using githooks.

Installation

OSX Homebrew

brew install elorest/crystal/git_deploy

Everything Else

clone, cd and run make :)

Usage

> git_deploy
command [OPTIONS] PATH

Arguments:
  PATH  ssh path. Example: deploy@example.com:/home/deploy/www/website

Options:
  -e, --environment  environment
                     (default: AMBER_ENV=production)
  -r, --remote       deployment remote for git. Default: production
                     (default: production)

Example:

git_deploy -r production -e 'PORT=80 AMBER_ENV=production' deploy@example.com:/home/deploy/crystalweb

Contributing

  1. Fork it ( https://github.com/elorest/git_deploy/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • elorest Isaac Sloan - creator, maintainer