mirror of
https://github.com/Snigdha-OS/snigdhaos-kernel-switcher-dev.git
synced 2025-09-21 20:54:56 +02:00
🔬 test(_mirror): => gitlab
This commit is contained in:
2
.github/workflows/mirror.yml
vendored
2
.github/workflows/mirror.yml
vendored
@@ -25,6 +25,8 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.GITLAB_SSH_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.GITLAB_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
# Ensure the known_hosts file exists
|
||||||
|
touch ~/.ssh/known_hosts
|
||||||
ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
|
ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
# Step 4: Push the code to GitLab
|
# Step 4: Push the code to GitLab
|
||||||
|
Reference in New Issue
Block a user