Updating the GitHub tokens for updating build artifacts and working examples
Follow the following procedure to update the Github token that allows Travis to update the build artifacts and working examples. This procedure assumes that Linux (Ubuntu/Debian) is used (Natively or through a virtual machine)
-
If Ruby is not already installed, install it:
sudo apt-get install ruby
-
Install or update the Travis ruby gem:
sudo gem install travis
orsudo gem update travis
-
For each repository, run the following steps:
a. Run the following command substituting the reposiory name (ex: wet-boew/wet-boew) and WET Bot GitHub token:
sudo travis encrypt -r [repository_name] "GH_TOKEN=[GitHub_Token]"
b. In the .travis.yml of the repository replace the
secure: [...]
with the output from the previous command. Be sure to maintain the same formattingc. Open a Pull request with the changes
Here is a list of repo that use a GitHub key for Travis:
- wet-boew/wet-boew
- wet-boew/wet-boew-styleguide
- wet-boew/GCWeb
- wet-boew/theme-gcwu-fegc
- wet-boew/theme-gc-intranet
- wet-boew/theme-base
- wet-boew/theme-ogpl