add command to create-app
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dovi Cowan 2023-02-21 02:40:39 +00:00
parent aa55bd8c9d
commit c31c5c8f70
Signed by: dcowan
GPG key ID: C110D77558FBC227

View file

@ -56,8 +56,8 @@ steps:
- name: ssh - name: ssh
path: /root/.ssh path: /root/.ssh
commands: commands:
- ssh dokku apps:exists $DOKKU_APP_NAME - ssh dokku dokku apps:exists $DOKKU_APP_NAME
- if [ $? -eq 0 ]; then ssh dokku apps:create $DOKKU_APP_NAME; else echo "App already exists"; fi - 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: