pipisa-exporter/.drone.yml
Simple_Not 528fbc8aa5
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
#DICKBOT-3 drone
2023-06-20 21:14:25 +10:00

31 lines
621 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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 exporto.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