Update .gitlab-ci.yml
This commit is contained in:
parent
2610ae66f0
commit
be5eb766f4
@ -13,17 +13,21 @@
|
||||
#
|
||||
# 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
|
||||
- lint
|
||||
- deploy
|
||||
|
||||
server-lint-docker-compose:
|
||||
stage: lint
|
||||
image: docker/compose:latest
|
||||
only:
|
||||
- "server/**/docker-compose.yml"
|
||||
- "server/minecraft/*.yml"
|
||||
script:
|
||||
- echo "Linting the code"
|
||||
- find /
|
||||
|
||||
server-deploy:
|
||||
stage: deploy
|
||||
|
Loading…
Reference in New Issue
Block a user