2022-10-18 19:50:50 +10:00
|
|
|
|
---
|
|
|
|
|
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
|
2022-10-18 19:57:02 +10:00
|
|
|
|
commands:
|
2022-10-18 19:57:54 +10:00
|
|
|
|
- systemctl restart jack_bot
|