Skip to content

Commit b11b2fa

Browse files
authored
Merge pull request #215 from jakebolam/patch-1
Update docs to include configuration for custom CI
2 parents c622d62 + c881217 commit b11b2fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ Currently works for [Travis CI](https://travis-ci.org), [CircleCI](https://circl
9090
- [Authorize `bundlesize` for status access](https://github.com/login/oauth/authorize?scope=repo%3Astatus&client_id=6756cb03a8d6528aca5a), copy the token provided.
9191
- Add this token as `BUNDLESIZE_GITHUB_TOKEN` as environment parameter in your CIs project settings.
9292

93+
Using a different CI? You will need to supply an additional 4 environment variables.
94+
- `CI_REPO_OWNER` given the repo `https://github.com/myusername/myrepo` would be `myusername`
95+
- `CI_REPO_NAME` given the repo `https://github.com/myusername/myrepo` would be `myrepo`
96+
- `CI_COMMIT_MESSAGE` the commit message
97+
- `CI_COMMIT_SHA` the SHA of the CI commit, in [Jenkins](https://jenkins.io/) you would use `${env.GIT_COMMIT}`
98+
9399
(Ask me for help if you're stuck)
94100

95101

0 commit comments

Comments
 (0)