Skip to content

Commit

Permalink
Add CI env to readme (siddharthkp#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswelton authored and siddharthkp committed Aug 7, 2019
1 parent 507f03e commit 55ed1e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,13 @@ Currently works with [Travis CI](https://travis-ci.org), [CircleCI](https://circ
- [Authorize `bundlesize` for status access](https://github.com/login/oauth/authorize?scope=repo%3Astatus&client_id=6756cb03a8d6528aca5a), copy the token provided.
- Add this token as `BUNDLESIZE_GITHUB_TOKEN` as environment parameter in your CIs project settings.

Using a different CI? You will need to supply an additional 4 environment variables.
Using a different CI? You will need to supply an additional 5 environment variables.

- `CI_REPO_OWNER` given the repo `https://github.com/myusername/myrepo` would be `myusername`
- `CI_REPO_NAME` given the repo `https://github.com/myusername/myrepo` would be `myrepo`
- `CI_COMMIT_MESSAGE` the commit message
- `CI_COMMIT_SHA` the SHA of the CI commit, in [Jenkins](https://jenkins.io/) you would use `${env.GIT_COMMIT}`
- `CI=true` usually set automtically in CI enviroments

(Ask me for help if you're stuck)

Expand Down

0 comments on commit 55ed1e6

Please sign in to comment.