1 parent 37868cd commit 240f610Copy full SHA for 240f610
1 file changed
.github/workflows/deploy.yaml
@@ -82,11 +82,11 @@ jobs:
82
. $EC2_USER@$EC2_HOST:~/server/
83
84
# Install prod dependencies on EC2
85
- ssh -i ~/.ssh/id_rsa $EC2_USER@$EC2_HOST
86
- "export PATH=\"\$HOME/.fnm:$PATH\" &&
87
- cd ~/server &&
88
- eval \$(fnm env) &&
89
- npm install --frozen-lockfile"
+ ssh -i ~/.ssh/id_rsa $EC2_USER@$EC2_HOST '
+ cd ~/server &&
+ eval "$(fnm env)" &&
+ npm install --frozen-lockfile'
+
90
91
# Stop existing pm2
92
ssh -i ~/.ssh/id_rsa $EC2_USER@$EC2_HOST
0 commit comments