use git -C instead of explicit cd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ben Harris 2021-03-31 15:38:44 -04:00
parent 4319f5d5dd
commit 278643b8a8

View File

@ -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