pipisa-exporter/.drone.yml
Simple_Not 2cb35e8015
All checks were successful
continuous-integration/drone/push Build is passing
fixxxxx
2023-07-16 15:01:43 +10:00

31 lines
635 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
- su -c "git pull" jack
#- chown -R jack:jack .
when:
branch:
- BIG_DICK_COCK
- name: restart systemd unit
commands:
- systemctl restart pipisa_exporter
when:
branch:
- BIG_DICK_COCK