Skip to content

Instantly share code, notes, and snippets.

@matthewford
Created April 14, 2016 00:31
Show Gist options
  • Save matthewford/1d96439cc219fb6f1cad537f9bd21a63 to your computer and use it in GitHub Desktop.
Save matthewford/1d96439cc219fb6f1cad537f9bd21a63 to your computer and use it in GitHub Desktop.
CircleCI Config for auto deploying to convox
dependencies:
post:
- curl -Ls https://install.convox.com/linux.zip > convox.zip
- sudo unzip convox.zip -d /usr/local/bin
deployment:
staging:
branch: master
commands:
- convox login console.convox.com
- convox switch org/rack
- convox deploy --app app
- convox run web rake db:migrate --app app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment