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 3edea33 commit 47cdc9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
private_key: ${{ secrets.EC2_PRIVATE_KEY }}
run: |
echo $private_key > private_key.pem
chmod 444 private_key.pem
chmod 440 private_key.pem
ssh -o StrictHostKeyChecking=no -i private_key.pem "${username}@${host}" echo hello

0 comments on commit 47cdc9f

Please sign in to comment.