upgrade rocket to 0.5 and adjust rocket_env -> rocket_profile

This commit is contained in:
2025-12-30 03:34:06 +01:00
parent fe9515a2aa
commit e238a68beb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ tag=$(curl -s -H "Authorization: token $(cat ~/.webbump-secret)" \
git checkout "$tag"
ROCKET_ENV=prod cargo build --release
ROCKET_PROFILE=prod cargo build --release
rsync -av ./Rocket.toml ./static ./templates ./.env /var/lib/teatrader-stable/
cp ./target/release/teatrade /var/lib/teatrader-stable/teatrade-stable