mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 08:12:27 +00:00
Added SSH access to github fetch
This commit is contained in:
parent
42c9068991
commit
c19d03b41d
2
Makefile
2
Makefile
@ -133,7 +133,7 @@ push-github:
|
|||||||
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
||||||
@git remote rm github-deploy || true
|
@git remote rm github-deploy || true
|
||||||
git remote add github-deploy $(GITHUB_REPO)
|
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)
|
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
|
||||||
rm $(KEY_FILE)
|
rm $(KEY_FILE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user