Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoularu authored Jan 14, 2024
1 parent 08cb7d3 commit c470433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
echo "$EC2_SSH_PRIVATE_KEY" > $SSH_PRIVATE_KEY_FILE
chmod 600 $SSH_PRIVATE_KEY_FILE
mkdir -p ~/.ssh
ssh-keyscan -H $EC2_HOST >> ~/.ssh/known_hosts
scp -i $SSH_PRIVATE_KEY_FILE -r dist/* $EC2_USER@$EC2_HOST:$EC2_DIRECTORY
Expand Down

0 comments on commit c470433

Please sign in to comment.