add NGINX_ROOT
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dovi Cowan 2023-02-21 03:06:12 +00:00
parent 65fef614cd
commit ccf613b760
Signed by: dcowan
GPG key ID: C110D77558FBC227

View file

@ -52,7 +52,6 @@ steps:
- ssh dokku "echo 'Host key added'"
- name: create-app
image: bitnami/git:2.39.2
failure: ignore
volumes:
- name: ssh
path: /root/.ssh
@ -60,6 +59,7 @@ steps:
- set +e
- 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 config:set $DOKKU_APP_NAME NGINX_ROOT=dist
- name: push-to-dokku
image: bitnami/git:2.39.2
volumes: