Skip to content
Snippets Groups Projects
Commit 7d91617d authored by Nico Vermaas's avatar Nico Vermaas
Browse files

switch to SDC private key (instead of mine)

parent e2c37dd4
No related branches found
No related tags found
No related merge requests found
Pipeline #42190 passed
......@@ -27,7 +27,7 @@ docker-deploy-to-test:
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- echo "$SSH_PRIVATE_KEY_USER_SDC" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan dop814.astron.nl >> ~/.ssh/known_hosts
......@@ -50,7 +50,7 @@ docker-deploy-to-production:
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- echo "$SSH_PRIVATE_KEY_USER_SDC" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan dop821.astron.nl >> ~/.ssh/known_hosts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment