#DICKBOT-3 drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-06-20 21:13:56 +10:00
parent 5e0879fe81
commit 3c6cb98ce1

View File

@ -1,21 +1,21 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
name: default name: default
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
#clone: #clone:
# убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию # убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию
#disable: true #disable: true
steps: steps:
- name: test it first - name: test it first
commands: commands:
- /usr/bin/python3 -m py_compile bot.py - /usr/bin/python3 -m py_compile bot.py
- name: pull into the folduh - name: pull into the folduh
commands: commands:
- cd /usr/share/$DRONE_REPO_NAME - cd /usr/share/$DRONE_REPO_NAME
- git pull - git pull
@ -23,7 +23,7 @@
when: when:
branch: branch:
- BIG_DICK_COCK - BIG_DICK_COCK
- name: restart systemd unit - name: restart systemd unit
commands: commands:
- systemctl restart pipisa_exporter - systemctl restart pipisa_exporter
when: when: