add deploy pipeline
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
b740c175cc
commit
02266b8198
1 changed files with 26 additions and 0 deletions
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: deploy-to-dokku
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: plugins/dokku
|
||||||
|
settings:
|
||||||
|
dokku_host: apps1.fnukinternal.net # replace with your Dokku host
|
||||||
|
dokku_app: dokku-ci-deploy # replace with your Dokku app name
|
||||||
|
dokku_key:
|
||||||
|
from_secret: dokku_ssh_key
|
||||||
|
dokku_git_remote: dokku@apps1.fnukinternal.net:dokku-ci-deploy
|
||||||
|
dokku_jump_host: 192.168.0.24 # replace with your jump host
|
||||||
|
dokku_jump_user: jumpuser # replace with the user to use on the jump host
|
||||||
|
dokku_jump_key:
|
||||||
|
from_secret: dokku_ssh_key
|
||||||
|
dokku_force_push: "true"
|
||||||
|
dokku_confirm: "true"
|
||||||
|
dokku_sync_networks: "true"
|
||||||
|
dokku_build_dir: "."
|
||||||
|
dokku_deploy_branch: main # replace with the branch you want to deploy
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
Loading…
Reference in a new issue