From f5f87a52dc7ccdeb28df991e474002c9b11781c5 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 3 Feb 2023 17:55:10 +0000 Subject: [PATCH] Update drone.yml --- .drone.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 99949c6..4ed9c9e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,44 +1,38 @@ --- kind: pipeline -type: ssh name: deployment -server: +image: appleboy/drone-ssh +settings: host: 192.168.68.121 - user: vylpes + username: vylpes password: from_secret: ssh_password - -steps: -- name: deploy - commands: - - sh /home/vylpes/scripts/vylbot/deploy_prod.sh + port: 22 + script: + - sh /home/vylpes/scripts/vylbot/deploy_prod.sh trigger: branch: - main event: - promote - target: - - production --- kind: pipeline -type: ssh name: staging -server: +image: appleboy/drone-ssh +settings: host: 192.168.68.121 - user: vylpes + username: vylpes password: from_secret: ssh_password - -steps: -- name: deploy - commands: - - sh /home/vylpes/scripts/vylbot/deploy_stage.sh + port: 22 + script: + - sh /home/vylpes/scripts/vylbot/deploy_stage.sh trigger: branch: -- 2.45.2