Adding step to remove old packages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
76438d6811
commit
f1d1da0945
22
.drone.yml
22
.drone.yml
@ -69,6 +69,28 @@ steps:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: remove old package
|
||||
image: appleboy/drone-ssh
|
||||
environment:
|
||||
SSH_USER:
|
||||
from_secret: ssh_user
|
||||
settings:
|
||||
host: homebridge.me
|
||||
envs:
|
||||
- SSH_USER
|
||||
username:
|
||||
from_secret: ssh_user
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
port: 22
|
||||
script:
|
||||
- rm -r /home/$SSH_USER/.npm-global/lib/node_modules/@watsonb8/homebridge-harmony-control
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user