Обновить .gitlab-ci.yml
This commit is contained in:
parent
d1fc5b5408
commit
2726fd0fac
@ -37,16 +37,3 @@ docker-build:
|
|||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
exists:
|
exists:
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
|
|
||||||
docker-deploy:
|
|
||||||
stage: deploy
|
|
||||||
tags:
|
|
||||||
- production
|
|
||||||
before_script:
|
|
||||||
- cd $PRODUCTION_DIR
|
|
||||||
script:
|
|
||||||
- docker-compose pull
|
|
||||||
- docker-compose up -d
|
|
||||||
only:
|
|
||||||
refs:
|
|
||||||
- master
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user