mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-09 15:15:01 +00:00
Update deploy method
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user