From e42f6f0449b400247540210608f00ebb99288e15 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 16 Feb 2022 13:38:12 -0500 Subject: [PATCH] update .drone.yml --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index e1726db..68b2978 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,8 @@ trigger: steps: - name: deploy commands: - - sudo -Hu www-data git -C /var/www/tilde.team pull --rebase origin master - - cd /var/www/tilde.team && sudo -Hu www-data composer install + - cd /var/www/tilde.team + - sudo -Hu www-data git fetch + - sudo -Hu www-data git reset --hard origin/master + - sudo -Hu www-data composer install