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 - frontend/.yarn
except: except:
- master - master
- develop
only: only:
changes: changes:
- frontend/* - frontend/*
@ -59,3 +60,24 @@ deploy-gephi-develop:
- develop - develop
script: 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