Skip to content

Commit

Permalink
(#62) update the clod_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Apr 20, 2024
1 parent cfd10d2 commit 83be9c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cloud_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Test SSH Connection Early
run: |
ssh -o StrictHostKeyChecking=no -vvv ${{ secrets.DROPLET_USER }}@${{ secrets.DROPLET_IP }} "echo SSH Connection Successful"
- name: Set up SSH
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.DROPLET_IP }} >> ~/.ssh/known_hosts
cat ~/.ssh/known_hosts # Add this line to confirm that the key is added
cat ~/.ssh/known_hosts
- name: Check the structure
run: |
Expand Down

0 comments on commit 83be9c2

Please sign in to comment.