Remove SSH connection test from deploy workflow #20
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rdenadai/web.redecapivara.social!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rdenadai-patch-10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removed the SSH connection test step from the deployment workflow.
Pull Request Overview
This PR removes the SSH connection test step from the deployment workflow to streamline the deployment process by eliminating a redundant verification step.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ -41,10 +41,6 @@ jobs:ssh-keygen -l -f ~/.ssh/id_rsa || { echo "Invalid SSH key"; exit 1; }ssh-keyscan -p ${{ secrets.SSH_PORT }} -H "${{ secrets.VM_IP }}" >> ~/.ssh/known_hosts 2>/dev/null || trueRemoving the SSH connection test eliminates early failure detection. If SSH connectivity fails, the deployment will only fail during the rsync step, making it harder to distinguish between SSH connectivity issues and rsync-specific problems. Consider keeping the test or adding error handling to provide clearer failure diagnostics.