From 02266b81980cad164493f57d5b3c70adf753332a Mon Sep 17 00:00:00 2001 From: Dovi Cowan Date: Tue, 21 Feb 2023 00:30:26 +0000 Subject: [PATCH] add deploy pipeline --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4e0b0f3 --- /dev/null +++ b/.drone.yml @@ -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