Update .gitlab-ci.yml

This commit is contained in:
Joey Hafner 2022-02-09 15:32:24 +00:00
parent a77c8ea2e0
commit 98833ddedb

View File

@ -13,17 +13,21 @@
# #
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages # For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
services:
- docker:dind
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- lint - lint
- deploy - deploy
server-lint-docker-compose: server-lint-docker-compose:
stage: lint stage: lint
image: docker/compose:latest
only: only:
- "server/**/docker-compose.yml" - "server/**/docker-compose.yml"
- "server/minecraft/*.yml" - "server/minecraft/*.yml"
script: script:
- echo "Linting the code" - find /
server-deploy: server-deploy:
stage: deploy stage: deploy