about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2021-03-31 15:38:44 -0400
committerBen Harris <ben@tilde.team>2021-03-31 15:38:44 -0400
commit278643b8a8cd812cb1e34e985668517bae591488 (patch)
treec0383a1d0f961e15792a8ee126c7d4d0693b4f84
parent4319f5d5dd7c453338957ac32c8ac6b5de64ad21 (diff)
use git -C instead of explicit cd
-rw-r--r--.drone.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index be5d01c..9dcb63a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,7 +15,6 @@ trigger:
     branch:
         - master
 steps:
-    - name: hello
+    - name: deploy
       commands:
-          - cd /var/www/hmm.st
-          - sudo -Hu www-data git pull origin master
+          - sudo -Hu www-data git -C /var/www/hmm.st pull origin master