From 1bc4191951f4ba14d6c60acd15a30c216f839506 Mon Sep 17 00:00:00 2001 From: Johann Grobe <123082619+johanngrobe@users.noreply.github.com> Date: Sat, 10 Oct 2026 16:29:43 +0200 Subject: [PATCH] update endurain repo from codeberg to gh (#17831) * fix: endurain repo * fix: endurain release check --- ct/endurain.sh | 4 ++-- install/endurain-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/endurain.sh b/ct/endurain.sh index 57f6ddffd..a0fc49de6 100644 --- a/ct/endurain.sh +++ b/ct/endurain.sh @@ -30,14 +30,14 @@ function update_script() { msg_error "No ${APP} installation found!" exit 233 fi - if check_for_codeberg_release "endurain" "endurain-project/endurain"; then + if check_for_gh_release "endurain" "endurain-project/endurain"; then msg_info "Stopping Service" systemctl stop endurain msg_ok "Stopped Service" NODE_VERSION="24" setup_nodejs create_backup /opt/endurain/.env /opt/endurain/frontend/dist/env.js - CLEAN_INSTALL=1 fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "endurain" "endurain-project/endurain" msg_info "Updating Endurain Frontend" cd /opt/endurain diff --git a/install/endurain-install.sh b/install/endurain-install.sh index b0e7953e5..0bd12f8d8 100644 --- a/install/endurain-install.sh +++ b/install/endurain-install.sh @@ -21,7 +21,7 @@ PYTHON_VERSION="3.13" setup_uv NODE_VERSION="24" setup_nodejs PG_VERSION="17" PG_MODULES="postgis" setup_postgresql PG_DB_NAME="enduraindb" PG_DB_USER="endurain" setup_postgresql_db -fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain" +fetch_and_deploy_gh_release "endurain" "endurain-project/endurain" msg_info "Setting up Endurain" cd /opt/endurain