forked from Pavel_Durov/python_bot
Update '.drone.yml'
This commit is contained in:
parent
da06b5ad23
commit
3a28cbb080
@ -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:
|
||||||
|
- main
|
||||||
- name: restart systemd unit
|
- name: restart systemd unit
|
||||||
commands:
|
commands:
|
||||||
- systemctl restart jack_bot
|
- systemctl restart jack_bot
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
Loading…
Reference in New Issue
Block a user