File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -133,11 +133,7 @@ gem install travis --no-rdoc --no-ri
133133Add the encrypted secrets files to the repository and Travis CI:
134134
135135``` sh
136- tar cvf secrets.tar ci_secrets/
137- travis encrypt-file secrets.tar --add --force
138- git add secrets.tar.enc .travis.yml
139- git commit -m ' Update secret archive'
140- git push
136+ make update-secrets
141137```
142138
143139Note that the [ Travis CI documentation] ( https://docs.travis-ci.com/user/encrypting-files/#Caveat ) warns that this might not work on Windows.
Original file line number Diff line number Diff line change 1616 yapf --diff --recursive src/ tests/ ci/
1717 markdownlint --config .markdownlint.json README.md CONTRIBUTING.md
1818
19+ .PHONY : fix-lint
1920fix-lint :
2021 autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables .
2122 yapf --in-place --recursive .
2223 isort --recursive --apply
24+
25+ .PHONY : update-secrets
26+ update-secrets :
27+ tar cvf secrets.tar ci_secrets/
28+ travis encrypt-file secrets.tar --add --force
29+ git add secrets.tar.enc .travis.yml
30+ git commit -m ' Update secret archive [skip ci]'
31+ git push
You can’t perform that action at this time.
0 commit comments