Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Verified Commit f08035dd authored by Daya Adianto's avatar Daya Adianto
Browse files

Fix ssh-add command

parent b2e09a43
Branches
No related tags found
No related merge requests found
Pipeline #185438 failed
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
before_script: before_script:
- chmod +x .gitlab/bin/gitlab_before_script.sh && bash .gitlab/bin/gitlab_before_script.sh - chmod +x .gitlab/bin/gitlab_before_script.sh && bash .gitlab/bin/gitlab_before_script.sh
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- '[[ -n "$SSH_PRIVATE_KEY" ]] && ssh-add "$SSH_PRIVATE_KEY"' - ssh-add "$SSH_PRIVATE_KEY"
- mkdir -p "$HOME/.ssh" && chmod 700 "$HOME/.ssh" - mkdir -p "$HOME/.ssh" && chmod 700 "$HOME/.ssh"
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> $HOME/.ssh/config" - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> $HOME/.ssh/config"
- dokku version - dokku version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment