chore: update justfile

This commit is contained in:
Asger Juul Brunshøj 2023-06-26 08:51:16 +02:00
parent 7793f6a5dc
commit 5b2d9aa5a5
2 changed files with 3 additions and 1 deletions

View File

@ -43,8 +43,9 @@ deploy-frontend:
deploy-backend:
ssh plul@ajb.dk -- sh -c "'cd achievements && git pull'"
ssh plul@ajb.dk -- sh -c "'cd achievements && nix develop --command -- cargo build --release -p backend'"
ssh root@ajb.dk -- systemctl stop achievements-backend.service
ssh plul@ajb.dk -- sh -c "'cp achievements/target/release/backend /opt/achievements/backend'"
ssh root@ajb.dk -- systemctl restart achievements-backend.service
ssh root@ajb.dk -- systemctl start achievements-backend.service
just logs-prod
# Copy the nginx conf to the server and reload nginx

View File

@ -1 +1,2 @@
- websocket reconnect
- when an achievement component in the admin view has an input field with a timestamp, even if the user hasn't modified anything, and the achivement gets an update on the ws with a different time, then the UI shows an UPDATE button. It should just nuke the state instead.