Skip to content

Commit 3d7c0cd

Browse files
committed
fix: trying to pipe .env in fish
1 parent 4f6466d commit 3d7c0cd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/deploy-to-vps.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ jobs:
6262
ssh -i ~/.keys/vps_key.pem -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} << 'EOF'
6363
cd ~/milk-folio
6464
65-
bash
66-
67-
cat > .env <<EOF
68-
BACKEND_PORT=${{ secrets.BACKEND_PORT }}
69-
WEBVIEW_PORT=${{ secrets.WEBVIEW_PORT }}
70-
EOF
65+
echo "BACKEND_PORT=${{ secrets.BACKEND_PORT }}\ WEBVIEW_PORT=${{ secrets.WEBVIEW_PORT }}" | cat > .env
7166
7267
EOF
7368

0 commit comments

Comments
 (0)