diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1ef4ce2 --- /dev/null +++ b/.drone.yml @@ -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