ci: fix db url without base

This commit is contained in:
əlemi 2024-03-21 01:17:00 +01:00
parent f403bc990c
commit 198983fbfe
Signed by: alemi
GPG key ID: A4895B84D311642C

4
.tci
View file

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