Skip to content

Commit

Permalink
Fixed SSH issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDyze committed Aug 17, 2024
1 parent ea30a8d commit c0d3e2b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ jobs:
chmod 600 private_key.pem
eval $(ssh-agent -s)
ssh-add private_key.pem
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "echo 'SSH connection successful!'"
rm private_key.pem
- name: Test SSH connection
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "echo 'SSH connection successful!'"
- name: Copy files to the server
run: |
mkdir /tmp/c218/
Expand Down

0 comments on commit c0d3e2b

Please sign in to comment.