Added STD
This commit is contained in:
parent
e9551e0475
commit
4db61c4de6
@ -49,13 +49,13 @@ function update_script() {
|
|||||||
CLEAN_INSTALL= 1 fetch_and_deploy_gh_release "discopanel" "nickheyer/discopanel" "tarball" "latest" "/opt/discopanel"
|
CLEAN_INSTALL= 1 fetch_and_deploy_gh_release "discopanel" "nickheyer/discopanel" "tarball" "latest" "/opt/discopanel"
|
||||||
msg_info "Building frontend"
|
msg_info "Building frontend"
|
||||||
cd /opt/discopanel/web/discopanel
|
cd /opt/discopanel/web/discopanel
|
||||||
npm install
|
$STD npm install
|
||||||
npm run build
|
$STD npm run build
|
||||||
msg_ok "Builded frontend"
|
msg_ok "Builded frontend"
|
||||||
|
|
||||||
msg_info "Building backend"
|
msg_info "Building backend"
|
||||||
cd /opt/discopanel
|
cd /opt/discopanel
|
||||||
go build -o discopanel cmd/discopanel/main.go
|
$STD go build -o discopanel cmd/discopanel/main.go
|
||||||
msg_ok "Builded backend"
|
msg_ok "Builded backend"
|
||||||
|
|
||||||
msg_info "Restoring Data"
|
msg_info "Restoring Data"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user