Create GitLab CI configuration for Dokku testing server
This commit is contained in:
parent
eaa483371a
commit
6d1d049ee1
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
image: dokku/ci-docker-image
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
GIT_DEPTH: 0
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
only:
|
||||
- testing
|
||||
variables:
|
||||
GIT_REMOTE_URL: ssh://dokku@ssh.dokku.sudoer.ch:1337/cvcs-score-tracker
|
||||
GIT_SSH_COMMAND: 'ssh -o StrictHostKeyChecking=no'
|
||||
script:
|
||||
- dokku-deploy
|
||||
after_script:
|
||||
- dokku-unlock
|
Reference in a new issue