This commit is contained in:
parent
31ee79cdde
commit
ecdcd5c666
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue