This commit is contained in:
parent
d55e59ab90
commit
4fa5b19775
1 changed files with 3 additions and 1 deletions
|
@ -52,11 +52,13 @@ steps:
|
||||||
- ssh dokku "echo 'Host key added'"
|
- ssh dokku "echo 'Host key added'"
|
||||||
- name: create-app
|
- name: create-app
|
||||||
image: bitnami/git:2.39.2
|
image: bitnami/git:2.39.2
|
||||||
|
failure: ignore
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
path: /root/.ssh
|
path: /root/.ssh
|
||||||
commands:
|
commands:
|
||||||
- ssh dokku dokku apps:exists $DOKKU_APP_NAME && if [ $? -eq 0 ]; then ssh dokku dokku apps:create $DOKKU_APP_NAME; else echo "App already exists"; fi
|
- ssh dokku dokku apps:exists $DOKKU_APP_NAME
|
||||||
|
- if [ $? -eq 0 ]; then ssh dokku dokku apps:create $DOKKU_APP_NAME; else echo "App already exists"; fi
|
||||||
- name: push-to-dokku
|
- name: push-to-dokku
|
||||||
image: bitnami/git:2.39.2
|
image: bitnami/git:2.39.2
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue