diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ab988bb --- /dev/null +++ b/.gitlab-ci.yml @@ -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