This project uses a Travis CI cronjob to automatically sync with the offical Slack documentation once per day.
To make this work, we needed to generate a personal access token with the public_repo
permission. That's the only Github API permission that is required.
Since the token should be private, we pass it to Travis securely as an environment variable in our repository settings.
The environment variable is called GH_TOKEN
.
In case the GH_TOKEN
needs to be renewed, please follow these steps:
- Create a personal access token.
- Go to the
slack-api-ref
settings on Travis. - Add the access token as an environment variable.
Official instructions can be found here.