From 527a07bc0dd01b45042ea2dafee4ae478ae13710 Mon Sep 17 00:00:00 2001 From: Eshan Roy Date: Wed, 4 Dec 2024 13:41:12 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(test):=20IDK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/mirror.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index ce77f6e..06a0446 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -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