mirror of
https://github.com/Snigdha-OS/snigdhaos-kernel-switcher-dev.git
synced 2025-09-07 14:45:13 +02:00
🐛 fix(test): IDK
This commit is contained in:
6
.github/workflows/mirror.yml
vendored
6
.github/workflows/mirror.yml
vendored
@@ -25,11 +25,13 @@ jobs:
|
|||||||
chmod 644 ~/.ssh/known_hosts
|
chmod 644 ~/.ssh/known_hosts
|
||||||
# Add GitLab's host key to known_hosts
|
# Add GitLab's host key to known_hosts
|
||||||
ssh-keyscan -H gitlab.com >> ~/.ssh/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)
|
# Step 3: Test SSH Connection (Debugging)
|
||||||
- name: Test SSH Connection
|
- name: Test SSH Connection with Verbose Output
|
||||||
run: |
|
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
|
# Step 4: Push to GitLab
|
||||||
- name: Push to GitLab
|
- name: Push to GitLab
|
||||||
|
Reference in New Issue
Block a user