ci: fix SSH variable escaping in deploy step ( not \)
CI / typecheck + tests (push) Canceled after 0s
CI / build + deploy (Nix) — api (push) Canceled after 0s
CI / build + deploy (Nix) — mcp (push) Canceled after 0s
CI / build + deploy (Nix) — worker (push) Canceled after 0s
CI / build + deploy (web) (push) Canceled after 0s

This commit is contained in:
asepharyana
2026-08-21 17:27:23 +07:00
parent e01ee22438
commit c92caede57
+3 -3
View File
@@ -174,11 +174,11 @@ jobs:
# Update profile + restart
ssh "$VPS_USER@$VPS_HOST" \
"sudo /nix/var/nix/profiles/default/bin/nix-env \
--profile /nix/var/nix/profiles/\$PROFILE \
--profile /nix/var/nix/profiles/$PROFILE \
--set '$STORE_PATH' && \
sudo systemctl restart \$PROFILE && \
sudo systemctl restart $PROFILE && \
sleep 3 && \
sudo systemctl status \$PROFILE --no-pager --no-legend | head -5"
sudo systemctl status $PROFILE --no-pager --no-legend | head -5"
- name: Verify service
env: