From 52a4f7a0499b10ac9f642382721fd69db8e65f11 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Oct 2022 05:50:50 -0400 Subject: [PATCH] ci\cd --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml 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