Browse Source

use git -C instead of explicit cd

master
Ben Harris 2 weeks ago
parent
commit
278643b8a8
  1. 5
      .drone.yml

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