Name: gitlab-ci-git-push
Owner: Wellcome Trust Sanger Institute - Human Genetics Informatics
Description: Gitlab CI runner image that pushes to a remote Git repo (Dokku, Heroku, Deis, etc.)
Forked from: IlyaSemenov/gitlab-ci-git-push
Created: 2017-01-23 12:12:43.0
Updated: 2017-01-23 12:12:45.0
Pushed: 2017-02-24 13:21:50.0
Homepage: null
Size: 3
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This Gitlab CI runner image allows to deploy a Gitlab project to a remote Git repo (useful for Dokku, Heroku, Deis, etc.)
Create .gitlab-ci.yml
:
e: ilyasemenov/gitlab-ci-git-push
es:
deploy
oy to production:
age: deploy
vironment: production
ly:
- master
ript: git-push dokku@dokku.me:myapp
Go to Gitlab > Project > Settings > Variables, and create a variable SSH_PRIVATE_KEY
:
-BEGIN RSA PRIVATE KEY-----
-END RSA PRIVATE KEY-----