Update miniflux

This commit is contained in:
Michel Roegl-Brunner 2025-11-12 11:00:07 +01:00
parent 851b828cca
commit 9e3d7da2af

View File

@ -20,7 +20,9 @@ DB_USER=miniflux
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)" DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER;" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER;"
$STD sudo -u postgres psql -d "$DB_NAME" -c "CREATE EXTENSION hstore;" $STD sudo -u $DB_USER -p $DB_PASS psql -d "$DB_NAME" -c "CREATE EXTENSION hstore;"
DROP EXTENSION hstore;
fetch_and_deploy_gh_release "miniflux" "miniflux/v2" "binary" "latest" fetch_and_deploy_gh_release "miniflux" "miniflux/v2" "binary" "latest"