Update .gitlab-ci.yml

This commit is contained in:
Tao Bojlén 2019-07-20 10:33:37 +00:00
parent 7aa914ab3f
commit bb573755c7

View file

@ -16,6 +16,7 @@ test-frontend:
- frontend/.yarn
except:
- master
- develop
only:
changes:
- frontend/*
@ -58,4 +59,25 @@ deploy-gephi-develop:
only:
- develop
script:
- git-push dokku@api-develop.fediverse.space:gephi develop
- git-push dokku@api-develop.fediverse.space:gephi develop
deploy-backend-production:
stage: deploy
environment:
name: production
url: https://phoenix.api.fediverse.space
image: ilyasemenov/gitlab-ci-git-push
only:
- master
script:
- git-push dokku@api.fediverse.space:phoenix master
deploy-gephi-production:
stage: deploy
image: ilyasemenov/gitlab-ci-git-push
environment:
name: production
only:
- master
script:
- git-push dokku@api.fediverse.space:gephi master