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'"
|
||||
- name: create-app
|
||||
image: bitnami/git:2.39.2
|
||||
failure: ignore
|
||||
volumes:
|
||||
- name: ssh
|
||||
path: /root/.ssh
|
||||
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
|
||||
image: bitnami/git:2.39.2
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue