#DICKBOT-3 drone
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
d596fe9af7
commit
5e0879fe81
31
.drone.yml
Normal file
31
.drone.yml
Normal file
@ -0,0 +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
|
Loading…
Reference in New Issue
Block a user