1
0
Fork 0
forked from alemi/upub

ci: fix trunk compile jobs (must use env var)

This commit is contained in:
əlemi 2024-04-14 17:35:41 +02:00
parent 473cf641fb
commit 8ce4803db1
Signed by: alemi
GPG key ID: A4895B84D311642C

2
.tci
View file

@ -12,7 +12,7 @@ echo "restarting service"
systemctl --user start upub
echo "rebuilding frontend"
cd web
/opt/bin/trunk build --release --public-url 'https://feditest.alemi.dev/web' -- -j 1
CARGO_BUILD_JOBS=1 /opt/bin/trunk build --release --public-url 'https://feditest.alemi.dev/web'
echo "deploying frontend"
rm /srv/http/feditest/web/*
mv ./dist/* /srv/http/feditest/web/