Skip to content

Commit dc91214

Browse files
committed
fix: key 오류 수정
1 parent 9115d33 commit dc91214

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
echo "${{secrets.DEVELOPMENT_ENV}}" > ./.env
5151
# .env 파일 전송
52-
- name: Copy deploy.sh to remote server
52+
- name: Copy .env to remote server
5353
uses: appleboy/scp-action@master
5454
with:
5555
host: ${{ secrets.REMOTE_DEV_IP }}
@@ -60,9 +60,9 @@ jobs:
6060
# sh 실행
6161
- name: Connect to Remote Server and Run Commands
6262
env:
63-
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
63+
REMOTE_HOST: ${{ secrets.REMOTE_DEV_IP }}
6464
REMOTE_USER: ${{ secrets.REMOTE_USER }}
65-
SSH_KEY: ${{ secrets.SSH_KEY }}
65+
SSH_KEY: ${{ secrets.REMOTE_PRIVATE_KEY }}
6666
run: |
6767
echo "$SSH_KEY" > ~/.ssh/id_rsa
6868
chmod 600 ~/.ssh/id_rsa

0 commit comments

Comments
 (0)