From 30eae7e444d3548cc237ca0fdf439f84d0cf5f84 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 26 Feb 2022 03:09:54 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- homelab/.gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/homelab/.gitlab-ci.yml b/homelab/.gitlab-ci.yml index e74846a8..be5d7257 100644 --- a/homelab/.gitlab-ci.yml +++ b/homelab/.gitlab-ci.yml @@ -12,6 +12,18 @@ before_script: - ssh-add <(echo "$SSH_PRIVATE_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' + +docker-compose-test: + image: docker/compose + stage: test + when: always + rules: + - changes: + - docker-compose.yml + - server/config/minecraft/ + when: manual + script: + - ls server-deploy: