From bd08314a9ea7b2490c9f0eed00cf067c694b7ab5 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Tue, 22 Aug 2023 12:35:32 +0100
Subject: [PATCH] CI: id_doc_deploy no longer used

---
 .ci/setup_ssh.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.ci/setup_ssh.sh b/.ci/setup_ssh.sh
index 18d4ceeee..cab02fdc5 100644
--- a/.ci/setup_ssh.sh
+++ b/.ci/setup_ssh.sh
@@ -43,16 +43,13 @@ if [[ -f /.dockerenv ]]; then
  eval $(ssh-agent -s);
  mkdir -p $HOME/.ssh;
 
+ # for downloading FSL atlases/standards
  echo "$SSH_PRIVATE_KEY_FSL_DOWNLOAD" > $HOME/.ssh/id_fsl_download;
 
  chmod go-rwx $HOME/.ssh/id_*;
 
  ssh-add $HOME/.ssh/id_fsl_download;
 
- if [[ "$CI_PROJECT_PATH" == "$UPSTREAM_PROJECT" ]]; then
-   ssh-add $HOME/.ssh/id_doc_deploy;
- fi
-
  ssh-keyscan ${FSL_HOST##*@} >> $HOME/.ssh/known_hosts;
 
  touch $HOME/.ssh/config;
-- 
GitLab