From 3c6cb98ce1170bbf7fa2792175021e61f4f178c2 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Tue, 20 Jun 2023 21:13:56 +1000 Subject: [PATCH] #DICKBOT-3 drone --- .drone.yml | 60 +++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.drone.yml b/.drone.yml index f426d9c..da6f8b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,31 +1,31 @@ --- - kind: pipeline - type: exec - name: default - - platform: - os: linux - arch: amd64 - - #clone: - # убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию - #disable: true - - steps: - - name: test it first - commands: - - /usr/bin/python3 -m py_compile bot.py - - name: pull into the folduh - commands: - - cd /usr/share/$DRONE_REPO_NAME - - git pull - - chown -R jack:jack . - when: - branch: - - BIG_DICK_COCK - - name: restart systemd unit - commands: - - systemctl restart pipisa_exporter - when: - branch: - - BIG_DICK_COCK \ No newline at end of file +kind: pipeline +type: exec +name: default + +platform: + os: linux + arch: amd64 + +#clone: + # убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию + #disable: true + +steps: +- name: test it first + commands: + - /usr/bin/python3 -m py_compile bot.py +- name: pull into the folduh + commands: + - cd /usr/share/$DRONE_REPO_NAME + - git pull + - chown -R jack:jack . + when: + branch: + - BIG_DICK_COCK +- name: restart systemd unit + commands: + - systemctl restart pipisa_exporter + when: + branch: + - BIG_DICK_COCK \ No newline at end of file