From 45a1e165fa804a8e477d793a8c6ed9853a5df041 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Thu, 15 Jun 2023 15:19:54 +0200 Subject: [PATCH] Add deploy for dpsgbergischland --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.drone.yml b/.drone.yml index 550890e9..706cb23d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -144,6 +144,24 @@ steps: branch: master event: push + - name: deploy dpsgbergischland + image: drillster/drone-rsync + settings: + hosts: ['zoomyboy.de'] + user: dpsgbergischland + source: ./ + target: ~/adrema + exclude: ['.git'] + key: + from_secret: deploy_private_key + script: + - cd ~/adrema + - /usr/bin/php8.1 artisan migrate --force + - sudo systemctl restart adremabl-queue + when: + branch: master + event: push + - name: github push image: alpine/git environment: