From 122b13776f5ca8e7c2fc6fe7643aad73721e829c Mon Sep 17 00:00:00 2001 From: Thieneret Date: Mon, 2 Mar 2026 11:38:57 +0100 Subject: [PATCH] Update deploy method --- ct/authentik.sh | 3 +-- install/authentik-install.sh | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ct/authentik.sh b/ct/authentik.sh index 13eb2c89b..39523a12e 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -65,7 +65,7 @@ function update_script() { if check_for_gh_release "authentik" "goauthentik/authentik" "${AUTHENTIK_VERSION}"; then - CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://github.com/goauthentik/authentik/archive/refs/tags/${AUTHENTIK_VERSION}.tar.gz" "/opt/authentik" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik" msg_info "Update web" cd /opt/authentik/web @@ -100,7 +100,6 @@ function update_script() { chown -R authentik:authentik /opt/authentik - echo ${AUTHENTIK_VERSION} | tr -d 'v' > $HOME/.authentik fi msg_info "Restarting services" diff --git a/install/authentik-install.sh b/install/authentik-install.sh index 9c595164d..ed9ca59e4 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -64,7 +64,7 @@ msg_ok "xmlsec installed" setup_nodejs setup_go -fetch_and_deploy_from_url "https://github.com/goauthentik/authentik/archive/refs/tags/${AUTHENTIK_VERSION}.tar.gz" "/opt/authentik" +fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik" msg_info "Setup web" cd /opt/authentik/web @@ -195,8 +195,6 @@ EOF systemctl enable -q --now authentik-server.service authentik-worker.service msg_ok "Services created" -echo ${AUTHENTIK_VERSION} | tr -d 'v' > $HOME/.authentik - motd_ssh customize cleanup_lxc