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