Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.31 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.31 KB

Stairstep

Deploying

License

The gem is available as open source under the terms of the MIT License.

Configuration

You may add an optional stairstep.yml file in the application's config directory.

Pipeline name

You may optionally specify the name of the pipeline for deploys (see example). This will default to the name of the GitHub repository.

App names

You may optionally specify app names per remote (see example). This will default to the hyphenated combination of the pipeline name and the remote name (e.g. syrup-demo).

Hooks

Top level config keys may be the name of a Heroku deploy hook. Each key within a hook is a Heroku CLI command. Each value is an array of parameters for that command.

  • before_deploy Runs right before the deploy (during maintenance mode)
  • after_deploy Runs at the very end (after maintenance mode)

Example

---
pipeline: wibble-wobble

demo:
  app: wib-wob-demo
production:
  app: wibble-wobble-prod
before_deploy:
  config:unset:
    - MINOR_VERSION
after_deploy:
  run:
    - rails pusher:new_release rollbar:source_maps

Code of Conduct

Everyone interacting in the Stairstep project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.