update Mail-Archiver

This commit is contained in:
tremor021 2025-12-15 19:01:02 +01:00
parent 58f0b23ba6
commit 01df01c5e6
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ function update_script() {
exit
fi
if check_for_gh_release "mail-archiver-build" "s1t5/mail-archiver"; then
if check_for_gh_release "mail-archiver" "s1t5/mail-archiver"; then
msg_ok "Updated successfully!"
fi
exit

View File

@ -27,10 +27,10 @@ msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql
PG_DB_NAME="mailarchiver_db" PG_DB_USER="mailarchiver" setup_postgresql_db
fetch_and_deploy_gh_release "mail-archiver-build" "s1t5/mail-archiver" "tarball"
fetch_and_deploy_gh_release "mail-archiver" "s1t5/mail-archiver" "tarball"
msg_info "Setting up Mail-Archiver"
mkdir -p /opt/mail-archiver
mv /opt/mail-archiver /opt/mail-archiver-build
cd /opt/mail-archiver-build
$STD dotnet restore
$STD dotnet publish -c Release -o /opt/mail-archiver