Skip to content

Commit b887247

Browse files
authored
Update main.yml
1 parent f3688ef commit b887247

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515

1616
- name: Set up SSH key
1717
run: |
18+
# ~/.ssh 디렉토리 생성 (기본적으로 없을 수 있음)
19+
mkdir -p ~/.ssh
1820
# GitHub secrets에 저장된 PEM 파일을 생성
1921
echo "${{ secrets.EC2_SSH_PEM }}" > ~/.ssh/ec2.pem
2022
chmod 600 ~/.ssh/ec2.pem # SSH 키에 적절한 권한 부여

0 commit comments

Comments
 (0)