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
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:
1 parent
e01ee22438
commit
c92caede57
1 file changed
+3
-3
@@ -174,11 +174,11 @@ jobs:
|
|||||||
# Update profile + restart
|
# Update profile + restart
|
||||||
ssh "$VPS_USER@$VPS_HOST" \
|
ssh "$VPS_USER@$VPS_HOST" \
|
||||||
"sudo /nix/var/nix/profiles/default/bin/nix-env \
|
"sudo /nix/var/nix/profiles/default/bin/nix-env \
|
||||||
--profile /nix/var/nix/profiles/\$PROFILE \
|
--profile /nix/var/nix/profiles/$PROFILE \
|
||||||
--set '$STORE_PATH' && \
|
--set '$STORE_PATH' && \
|
||||||
sudo systemctl restart \$PROFILE && \
|
sudo systemctl restart $PROFILE && \
|
||||||
sleep 3 && \
|
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
|
- name: Verify service
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user