rm pkill from drone
This commit is contained in:
parent
25ecf7b87a
commit
3e0f9be420
|
@ -29,6 +29,8 @@ steps:
|
|||
environment:
|
||||
TOKEN:
|
||||
from_secret: bot_token
|
||||
PASSWORD:
|
||||
from_secret: ssh_pass
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh_ip
|
||||
|
@ -38,11 +40,12 @@ steps:
|
|||
from_secret: ssh_pass
|
||||
port:
|
||||
from_secret: ssh_port
|
||||
envs: [ TOKEN ]
|
||||
envs: [ TOKEN,PASSWORD ]
|
||||
command_timeout: 10s
|
||||
script:
|
||||
- cd bots
|
||||
- echo $${TOKEN} > token.txt
|
||||
- echo $${PASSWORD} | sudo -S systemctl restart butler_tg_bot
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
|
Loading…
Reference in New Issue