- Notifications
You must be signed in to change notification settings - Fork7
[Deprecated] TravisEncrypt
cocoatomo edited this pageJun 20, 2021 ·1 revision
pyXX-locale レポジトリの .travis.yml では、環境変数 GH_TOKEN の設定するための文字列を暗号化してある。
https://github.com/settings/profile > Personal access tokens > Generate new token から作成する。
権限は repo を付与しておく。pyXX-locale などの名前を付けて忘れないようにしておく。
gem install travistravis encrypt GH_TOKEN="XXXXXXX" -r'python-doc-ja/pyXX-locale'
XXXXXXX はトークン文字列を指定する。
Please add the following to your .travis.yml file: secure: "YYYYYYY"...と出力されるので、secure: "YYYYYYY" の部分を .travis.yml にコピーして
env: global: secure: "YYYYYYY"と設定する。