use git -C instead of cd

master
Ben Harris 2 years ago
parent 0db51d6e53
commit eaebffbe71
  1. 3
      .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

Loading…
Cancel
Save