forked from Pavel_Durov/python_bot
21 lines
414 B
YAML
21 lines
414 B
YAML
|
---
|
|||
|
kind: pipeline
|
|||
|
type: exec
|
|||
|
name: default
|
|||
|
|
|||
|
platform:
|
|||
|
os: linux
|
|||
|
arch: amd64
|
|||
|
|
|||
|
clone:
|
|||
|
# убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию
|
|||
|
disable: true
|
|||
|
|
|||
|
steps:
|
|||
|
- name: pull into the folduh
|
|||
|
commands:
|
|||
|
- cd /usr/share/$DRONE_REPO_NAME
|
|||
|
- git pull
|
|||
|
- name: restart systemd unit
|
|||
|
- systemd restart jack_bot
|