forked from Pavel_Durov/python_bot
ci\cd
This commit is contained in:
parent
6b16c4114a
commit
52a4f7a049
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user