Commit 15de9456 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

CodiMD backup: Output key file for debugging

parent 8c22206e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ if [[ `git status --porcelain --untracked-files=no ` ]]; then
  eval $(ssh-agent)
  trap "kill $SSH_AGENT_PID" EXIT
  chmod 600 "${CODIMD_BACKUP_PUSH_KEY}"
  cat "${CODIMD_BACKUP_PUSH_KEY}"
  ssh-add "${CODIMD_BACKUP_PUSH_KEY}"
  git commit -m "Automatic update from CodiMD: $(date)"
  git push git@gitlab.tiker.net:${CI_PROJECT_PATH}.git master