File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ before_install:
23
23
- ls -la
24
24
- BASEDIR="$(pwd)"
25
25
- cd ~
26
- - openssl aes-256-cbc -K $encrypted_9796e8faf501_key -iv $encrypted_9796e8faf501_iv -in "${BASEDIR}/python-docs-ja/secrets .tar.enc" -out ~/secrets .tar -d
27
- - tar xvf ~/secrets .tar
28
- - rm ~/secrets .tar
29
- - chmod 600 ~/.ssh/python-docs-ja
30
- - chmod 600 ~/.ssh/cpython-doc-catalog
26
+ - openssl aes-256-cbc -K $encrypted_9796e8faf501_key -iv $encrypted_9796e8faf501_iv -in "${BASEDIR}/python-docs-ja/secrets_${DOCS_BRANCH} .tar.enc" -out ~/secrets_{DOCS_BRANCH} .tar -d
27
+ - tar xvf ~/secrets_{DOCS_BRANCH} .tar
28
+ - rm ~/secrets_{DOCS_BRANCH} .tar
29
+ - chmod 600 ~/.ssh/python-docs-ja_${DOCS_BRANCH}
30
+ - chmod 600 ~/.ssh/cpython-doc-catalog_${CATALOG_BRANCH}
31
31
# Hack from: https://gist.github.com/jamesmcfadden/d379e04e7ae2861414886af189ec59e5
32
- - echo -e "Host python-docs-ja.github.com\n\tHostName github.com\n\tIdentityFile ~/.ssh/python-docs-ja \n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
33
- - echo -e "Host cpython-doc-catalog.github.com\n\tHostName github.com\n\tIdentityFile ~/.ssh/cpython-doc-catalog \n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
32
+ - echo -e "Host python-docs-ja.github.com\n\tHostName github.com\n\tIdentityFile ~/.ssh/python-docs-ja_${DOCS_BRANCH} \n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
33
+ - echo -e "Host cpython-doc-catalog.github.com\n\tHostName github.com\n\tIdentityFile ~/.ssh/cpython-doc-catalog_${CATALOG_BRANCH} \n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
34
34
- cat ~/.ssh/config
35
35
- git config --global user.email "travisci-build-bot@example.com"
36
36
- git config --global user.name "Autobuild bot on TravisCI"
You can’t perform that action at this time.
0 commit comments