diff options
author | Ben Harris <ben@tilde.team> | 2021-03-31 15:38:44 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-03-31 15:38:44 -0400 |
commit | 278643b8a8cd812cb1e34e985668517bae591488 (patch) | |
tree | c0383a1d0f961e15792a8ee126c7d4d0693b4f84 /.drone.yml | |
parent | 4319f5d5dd7c453338957ac32c8ac6b5de64ad21 (diff) |
use git -C instead of explicit cd
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 5 |
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 |