summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index efaa3b8..63b079f 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -21,6 +21,5 @@ trigger:
 steps:
     - name: hello
       commands:
-          - cd /var/www/benharr.is
-          - sudo -Hu www-data git pull origin master
+          - sudo -Hu www-data git -C /var/www/benharr.is pull --rebase origin master