#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,31 +1,31 @@
---
kind: pipeline
type: exec
name: default
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
platform:
os: linux
arch: amd64
#clone:
# убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию
#disable: true
#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
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