Skip to content

Commit c881217

Browse files
authored
Update docs to include configuration for custom CI
Update docs to include configuration for custom CI
1 parent 8d99ed9 commit c881217

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
@@ -94,6 +94,12 @@ Currently works for [Travis CI](https://travis-ci.org), [CircleCI](https://circl
9494
- [Authorize `bundlesize` for status access](https://github.com/login/oauth/authorize?scope=repo%3Astatus&client_id=6756cb03a8d6528aca5a), copy the token provided.
9595
- Add this token as `BUNDLESIZE_GITHUB_TOKEN` as environment parameter in your CIs project settings.
9696

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

99105

0 commit comments

Comments
 (0)