Skip to content

Commit

Permalink
Update ci.cd.prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oU-Ua authored Jul 12, 2024
1 parent 0fda8fd commit 40cf386
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.cd.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
chmod 400 $HOME/key.pem
ssh -i $HOME/key.pem -o StrictHostKeyChecking=no ${SSH_USER}@${SSH_KNOWN_HOSTS} '~/script.sh'
env:
SSH_USER: ${{secrets.SSH_USER}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
SSH_PEM_KEY: ${{secrets.SSH_PEM_KEY}}
SSH_USER: ${{secrets.EC2_USER}}
SSH_KNOWN_HOSTS: ${{secrets.EC2_HOST}}
SSH_PEM_KEY: ${{secrets.EC2_KEY}}

- name: Execute deployment script
uses: appleboy/[email protected]
Expand Down

0 comments on commit 40cf386

Please sign in to comment.