Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
ssh-keyscan -H ${{ secrets.PROD_IP }} >> ~/.ssh/known_hosts || true
chmod 644 ~/.ssh/known_hosts

- name: Setup SSH Agent
- name: Setup SSH Agent (Bastion + Prod Key 등록)
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-private-key: |
${{ secrets.BASTION_SSH_PRIVATE_KEY }}
${{ secrets.PROD_SSH_PRIVATE_KEY }}

- name: Test SSH to Bastion
run: ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.BASTION_IP }} hostname
Expand Down
Loading