forked from encrypt/toot
Update '.drone.yml'
This commit is contained in:
parent
0053acdf10
commit
2f561e4d82
1 changed files with 13 additions and 0 deletions
13
.drone.yml
13
.drone.yml
|
@ -15,4 +15,17 @@ steps:
|
||||||
host: mastodon.bida.im
|
host: mastodon.bida.im
|
||||||
source: ./
|
source: ./
|
||||||
target: ~/MastodonMegafono
|
target: ~/MastodonMegafono
|
||||||
|
- name: run
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
user:
|
||||||
|
from_secret: user
|
||||||
|
password:
|
||||||
|
from_secret: passwd
|
||||||
|
host: mastodon.bida.im
|
||||||
|
script:
|
||||||
|
- kill -9 `ps aufx | grep mega | grep bash | awk '{print $2}'`
|
||||||
|
- cd ~/MastodonMegafono
|
||||||
|
- nohup bash megafono_bot.sh -f megafono.txt &
|
||||||
|
- nohup bash megafono_bot.sh -f supportabida.txt &
|
||||||
|
|
Loading…
Reference in a new issue