Skip to content

Commit

Permalink
Update auto-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wwingyou authored Mar 24, 2024
1 parent c52cc62 commit 309fd4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
private_key: ${{ secrets.EC2_PRIVATE_KEY }}
run: |
echo $private_key > private_key.pem
chmod 600 private_key.pem
echo "$private_key" > private_key.pem
chmod 400 private_key.pem
ssh -o StrictHostKeyChecking=no -i private_key.pem "${username}@${host}" echo hello
- uses: actions/checkout@v4.1.2
- name: Show git status
Expand Down

0 comments on commit 309fd4e

Please sign in to comment.