This commit is contained in:
Slaviša Arežina
2025-08-18 19:58:50 +02:00
committed by GitHub
parent a79392149e
commit aed25098e5
3 changed files with 47 additions and 50 deletions

View File

@@ -32,11 +32,12 @@ function update_script() {
systemctl stop umami
msg_ok "Stopped $APP"
fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball"
msg_info "Updating ${APP}"
cd /opt/umami
git pull
yarn install
yarn build
$STD yarn install
$STD yarn run build
msg_ok "Updated ${APP}"
msg_info "Starting ${APP}"
@@ -54,4 +55,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"