From 198983fbfef8885d972b6fb4eb56d0c31e2ead33 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 21 Mar 2024 01:17:00 +0100 Subject: [PATCH] ci: fix db url without base --- .tci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tci b/.tci index d5785496..56431e40 100755 --- a/.tci +++ b/.tci @@ -9,8 +9,8 @@ cat ./target/release/upub > /opt/bin/upub echo "recreating database" rm /srv/tci/upub.db touch /srv/tci/upub.db -/opt/bin/upub --db /srv/tci/upub.db --domain https://feditest.alemi.dev migrate -/opt/bin/upub --db /srv/tci/upub.db --domain https://feditest.alemi.dev faker +/opt/bin/upub --db sqlite:///srv/tci/upub.db --domain https://feditest.alemi.dev migrate +/opt/bin/upub --db sqlite:///srv/tci/upub.db --domain https://feditest.alemi.dev faker echo "restarting service" systemctl --user start upub echo "done"