Update deploy method

This commit is contained in:
Thieneret
2026-03-02 11:38:57 +01:00
parent a775bfc089
commit 122b13776f
2 changed files with 2 additions and 5 deletions

View File

@@ -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"

View File

@@ -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