Merge branch 'main' into 'testing'

Add GitLab CI configuration to testing branch

See merge request sudoer777/cvcs-score-tracker!1
main
Ethan Reece 2021-09-16 17:20:58 +00:00
commit ce123cab47
1 changed files with 22 additions and 0 deletions

22
.gitlab-ci.yml 100644
View File

@ -0,0 +1,22 @@
# 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/cvcs-score-tracker
GIT_SSH_COMMAND: 'ssh -o StrictHostKeyChecking=no'
script:
- dokku-deploy
after_script:
- dokku-unlock