use git -C instead of explicit cd

master
Ben Harris 2 years ago
parent 4319f5d5dd
commit 278643b8a8
  1. 5
      .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

Loading…
Cancel
Save