Commit c19d03b4 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Added SSH access to github fetch

parent 42c90689
......@@ -133,7 +133,7 @@ push-github:
@git remote rm github-deploy || true
git remote add github-deploy $(GITHUB_REPO)
git fetch github-deploy $(CI_COMMIT_REF_NAME) || true
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git fetch github-deploy $(CI_COMMIT_REF_NAME) || true
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
rm $(KEY_FILE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment