feat: deploy and build only for master and develop

refactor: carry on presence refactoring
This commit is contained in:
Swann
2020-10-05 21:51:54 +02:00
parent 0c4740eef8
commit d328077cb0
6 changed files with 93 additions and 130 deletions

View File

@ -7,4 +7,7 @@ build:
name: multi_user
paths:
- multi_user
only:
refs:
- master
- develop

View File

@ -16,3 +16,7 @@ deploy:
- echo "Pushing to gitlab registry ${VERSION}"
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push registry.gitlab.com/slumber/multi-user/multi-user-server:${VERSION}
only:
refs:
- master
- develop