ci add lamassu-update script
This commit is contained in:
parent
4c715bbfe4
commit
70438b9796
1 changed files with 10 additions and 0 deletions
10
bin/lamassu-update
Normal file
10
bin/lamassu-update
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
supervisorctl stop lamassu-server
|
||||
supervisorctl stop lamassu-admin-server
|
||||
npm -g install lamassu/lamassu-server#v5
|
||||
lamassu-migrate
|
||||
supervisorctl start lamassu-server
|
||||
supervisorctl start lamassu-admin-server
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue