by gmanley

GitHub Readme.md


A Heroku buildpack for compiling statsite.

It's setup to use GrafanaCloud.

You need to have GRAFANA_API_KEY for this to work.

heroku config:set GRAFANA_API_KEY=foobar

You can set the statsite version via an ENV variable.

heroku config:set STATSITE_VERSION=8dd7750

STATSITE_VERSION can be any reference supported by git, such as a SHA or branch name.

After the first compile the build is cached. If you change the version you need to force a rebuild:

heroku config:set STATSITE_REBUILD=true

After it's been rebuilt you should unset it.

heroku config:unset STATSITE_REBUILD