This is a Heroku Buildpack you can add to your heroku deployments that will notify a CircleCI of your deployment and invoke a build with the parameter run_acceptance_tests
.
- Add
package
andrun_acceptance_tests
to your CircleCI parameters - Configure a workflow/job to depend on those parameters
- Find your CircleCI project slug in CircleCI
- Add your CircleCI project slug as an environment variable called
CIRCLECI_PROJECT_SLUG
- Find your CircleCI token in CircleCI
- Add your CircleCI token as an environment variable called
CIRCLECI_TOKEN
- Enable Dyno Metadata for yoru application
heroku labs:enable runtime-dyno-metadata
- Add this buildpack to your Heroku application:
heroku buildpacks:set https://github.com/CareerJSM/heroku-buildpack-webhook-circleci-deploy.git
(or add it via the Heroku dashboard if you have multiple buildpacks)