Skip to content

Commit d12cc99

Browse files
authored
mod::pseudo-terminal 할당문제 해결
1 parent 921d10c commit d12cc99

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ jobs:
7373
run: |
7474
echo "$SSH_PRIVATE_KEY" > private_key.pem
7575
chmod 600 private_key.pem
76-
ssh -i private_key.pem $USER@$HOST << EOF
77-
mkdir -p /home/$USER/app # 디렉토리 생성
78-
EOF
76+
ssh -t -i private_key.pem $USER@$HOST "mkdir -p /home/$USER/app"
7977
# 서버 호스트 키를 known_hosts에 추가
8078
mkdir -p ~/.ssh
8179
ssh-keyscan -H $HOST >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)