Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -693,14 +693,14 @@ jobs:
- attach_workspace:
at: ~/nova
- reuse-cache
- checkout:
path: ~/nova
- add_ssh_keys
- run:
name: Add GitHub to known_hosts
command: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- checkout:
path: ~/nova
- run:
name: Configure Git
command: |
Expand All @@ -717,14 +717,14 @@ jobs:
environment:
NOVA_DIR: ~/nova
steps:
- checkout:
path: ~/nova
- add_ssh_keys
- run:
name: Add GitHub to known_hosts
command: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- checkout:
path: ~/nova
- run:
name: Configure Git
command: |
Expand Down
7 changes: 4 additions & 3 deletions scripts/clean-docs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ else
mkdir nova-docs
cd ./nova-docs

# avoid prompt related to the HostKeyChecking
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
# avoid prompt related to host key checking without replacing CircleCI's SSH config
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts

git clone $DOC_SERVICE_REPO .
git clone "$DOC_SERVICE_REPO" .
fi

echo ""
Expand Down
7 changes: 4 additions & 3 deletions scripts/deploy-docs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ DASHBOARDS_DOCS_PATH="./projects/dashboards/${BRANCH_PATH}"
mkdir nova-docs
cd ./nova-docs

# avoid prompt related to the HostKeyChecking
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
# avoid prompt related to host key checking without replacing CircleCI's SSH config
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts

git clone $DOC_SERVICE_REPO .
git clone "$DOC_SERVICE_REPO" .

# move bits docs
mkdir --parents ./projects/bits
Expand Down