# Automatically deploy testing branch to Dokku test server on commit # https://cvcs-score-tracker.dokku.sudoer.ch 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/score-tracker GIT_SSH_COMMAND: 'ssh -o StrictHostKeyChecking=no' script: - dokku-deploy after_script: - dokku-unlock