change volumes path
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dovi Cowan 2023-02-21 02:06:50 +00:00
parent 31ee79cdde
commit ecdcd5c666
Signed by: dcowan
GPG key ID: C110D77558FBC227

View file

@ -6,9 +6,6 @@ platform:
os: linux
arch: amd64
pool:
use: ubuntu:latest
environment:
BRANCH: main
DOKKU_HOST: apps1.fnukinternal.net
@ -23,7 +20,7 @@ steps:
image: bitnami/git:2.39.2
volumes:
- name: ssh
path: ~/.ssh
path: /root/.ssh
environment:
SSH_PRIVATE_KEY:
from_secret: dokku_ssh_key
@ -44,14 +41,14 @@ steps:
image: bitnami/git:2.39.2
volumes:
- name: ssh
path: ~/.ssh
path: /root/.ssh
commands:
- git remote add dokku dokku:$DOKKU_APP_NAME
- name: push-to-dokku
image: bitnami/git:2.39.2
volumes:
- name: ssh
path: ~/.ssh
path: /root/.ssh
commands:
- ls -la ~/.ssh
- git push dokku $BRANCH