add deploy pipeline
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Dovi Cowan 2023-02-21 00:30:26 +00:00
parent b740c175cc
commit 02266b8198
Signed by: dcowan
GPG key ID: C110D77558FBC227

26
.drone.yml Normal file
View 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