Create GitLab CI configuration for Dokku testing server

main
Ethan Reece 2021-09-16 17:03:03 +00:00
parent eaa483371a
commit 6d1d049ee1
1 changed files with 19 additions and 0 deletions

19
.gitlab-ci.yml 100644
View 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