Skip to content

Commit

Permalink
πŸ› fix(test): IDK
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanized committed Dec 4, 2024
1 parent d347622 commit 527a07b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
chmod 644 ~/.ssh/known_hosts
# Add GitLab's host key to known_hosts
ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts
# Verify permissions of the .ssh directory and files
ls -al ~/.ssh
# Step 3: Test SSH Connection (Debugging)
- name: Test SSH Connection
- name: Test SSH Connection with Verbose Output
run: |
ssh -vT git@gitlab.com
ssh -vT git@gitlab.com || exit 1 # Ensure the error code is returned if it fails
# Step 4: Push to GitLab
- name: Push to GitLab
Expand Down

0 comments on commit 527a07b

Please sign in to comment.