Eliminate SSH key validation in deploy.yml #22
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!22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rdenadai-patch-11"
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?
Remove SSH key validation step in deploy workflow
Pull Request Overview
This PR removes SSH key validation from the deployment workflow to streamline the deployment process. The change eliminates the verification step that checked the validity of the SSH private key before attempting to connect to the remote server.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ -41,4 +41,3 @@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 || true- name: Deploy dist/ to VM:/pdsRemoving SSH key validation eliminates early error detection. Without this validation, deployment failures due to invalid SSH keys will only be discovered later in the process, making debugging more difficult and potentially wasting CI/CD resources.