From c92caede5714d9eaa9307c973b5b1a1a5101c9dd Mon Sep 17 00:00:00 2001 From: asepharyana Date: Fri, 21 Aug 2026 17:27:23 +0700 Subject: [PATCH] ci: fix SSH variable escaping in deploy step ( not \) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b35af7f..de5e3fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: