diff options
author | Ben Harris <ben@tilde.team> | 2021-04-02 11:02:42 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-04-02 11:02:42 -0400 |
commit | eaebffbe71207aa29310c25768da18fe3b7617ce (patch) | |
tree | f269d461db0205254ecbce11b365ca6e4386e604 /.drone.yml | |
parent | 0db51d6e53187c06b1e80bdde1c00268d753a86b (diff) |
use git -C instead of cd
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 3 |
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 |