Clean up DOCS_PUBLISH step
This commit is contained in:
parent
97a9a505ca
commit
98f8583fba
@ -253,17 +253,16 @@ jobs:
|
|||||||
DOCS_PUBLISH:
|
DOCS_PUBLISH:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- checkout
|
||||||
at: ~/repo
|
|
||||||
- run:
|
- run:
|
||||||
name: Avoid hosts unknown for github
|
name: Avoid hosts unknown for github
|
||||||
command:
|
command: |
|
||||||
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking
|
rm -rf ~/.ssh
|
||||||
no\n" > ~/.ssh/config
|
mkdir ~/.ssh/
|
||||||
- run: git config --global user.email "danny.ri.brown+ohif-bot@gmail.com"
|
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
|
||||||
- run: git config --global user.name "ohif-bot"
|
git config --global user.email "danny.ri.brown+ohif-bot@gmail.com"
|
||||||
- run: yarn global add gitbook-cli
|
git config --global user.name "ohif-bot"
|
||||||
- run: yarn global add gh-pages
|
- run: yarn global add gitbook-cli gh-pages
|
||||||
- run: chmod +x ~/repo/.circleci/build-and-publish-docs.sh
|
- run: chmod +x ~/repo/.circleci/build-and-publish-docs.sh
|
||||||
- run: ~/repo/.circleci/build-and-publish-docs.sh
|
- run: ~/repo/.circleci/build-and-publish-docs.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user