Commit 360bb11a authored by Seblu's avatar Seblu
Browse files

gitlab-ci: fix ssh-agent killing

parent 9c65a06c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ commitpkg:
  stage: deploy
  script:
    - eval $(ssh-agent -s)
    - trap 'kill $SSH_AGENT_PID' 0
    - trap "kill $SSH_AGENT_PID" 0
    - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
    - seblu-push
  only: