Skip to content

Commit

Permalink
feat : Update be-autodeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeTH916 authored Jan 28, 2024
1 parent 6e120ee commit de9e642
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/be-autodeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
steps:
- name: Set up SSH
run: |
mkdir -p ~/.ssh
ls -la ~
mkdir -v -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.DEV_HOST }} >> ~/.ssh/known_hosts
Expand Down

0 comments on commit de9e642

Please sign in to comment.