This commit is contained in:
parent
2357ebe6bd
commit
9432f67ada
@ -20,6 +20,12 @@ steps:
|
|||||||
- cd /usr/share/$DRONE_REPO_NAME
|
- cd /usr/share/$DRONE_REPO_NAME
|
||||||
- git pull
|
- git pull
|
||||||
- chown -R jack:jack .
|
- chown -R jack:jack .
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
- name: restart systemd unit
|
- name: restart systemd unit
|
||||||
commands:
|
commands:
|
||||||
- systemctl restart jack_bot
|
- systemctl restart jack_bot
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user