Get a Heroku CI badge for your repo's README file.
NOTE: This project is a fork of https://github.com/gregsadetsky/heroku-ci-badge
If you're seeing...
... instead of a pass/fail mark, it means that the heroku-ci-badge app could not retrieve the build status.
- Check that you've set the
HEROKU_AUTH_TOKENenvironment variable on your app - Check that your auth token is valid by running
heroku authorizations. Note that token IDs (shown in the list) and the token values are not the same. Do you see the "heroku-ci-badge" token generated previously? If you runheroku authorizations:info {token id}is theToken: {token value}value the same as the one you set as theHEROKU_AUTH_TOKENenvironment variable? - Check that you've set the
PIPELINE_IDenvironment variable on your app - Check that the
PIPELINE_IDvalue is valid by checking the pipeline URLhttps://dashboard.heroku.com/pipelines/{pipeline ID} - Check the app's log outputs for errors:
heroku log -a {deployed app name}
If you're seeing...
... it means that:
- the image URL might be wrong (check the public URL to your deployed app, and that you're referencing
/last.svg) - your heroku-ci-badge app might be sleeping if you're using a Free Dyno. See here: "If an app has a Free web dyno, and that dyno receives no web traffic in a 30-minute period, it will sleep". Upgrade the dyno type to
hobby(7$/month) to remedy.
- This software is provided as is.
- This project has no affiliation with Heroku.
