push-fix
This commit is contained in:
parent
a3e71fe3f8
commit
81aa2f0629
|
@ -1,19 +1,17 @@
|
||||||
---
|
---
|
||||||
image: dokku/ci-docker-image
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 0
|
APP_NAME: discoursio-api
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
image: ilyasemenov/gitlab-ci-git-push
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
environment:
|
||||||
|
name: production
|
||||||
|
url: https://testapi.discours.io
|
||||||
only:
|
only:
|
||||||
- main
|
- master
|
||||||
variables:
|
script:
|
||||||
# specify the `main` branch as the remote branch to push to
|
- git-push ssh://dokku@testapi.discours.io:22/$APP_NAME
|
||||||
BRANCH: main
|
|
||||||
GIT_REMOTE_URL: ssh://dokku@staging.discours.io:22/discoursio-api
|
|
||||||
script: dokku-deploy
|
|
||||||
after_script: [dokku-unlock]
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user