Update .gitea/workflows/renovate.yml
This commit is contained in:
@@ -15,10 +15,20 @@ jobs:
|
||||
- name: Git Setup
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo 'Host gitea.akshun-lab.cc' >> ~/.ssh/config
|
||||
echo ' User git' >> ~/.ssh/config
|
||||
echo ' Port 222' >> ~/.ssh/config
|
||||
cat ~/.ssh/config
|
||||
{
|
||||
echo "Host gitea.akshun-lab.cc"
|
||||
echo " HostName gitea.akshun-lab.cc"
|
||||
echo " User git"
|
||||
echo " Port 222"
|
||||
echo " StrictHostKeyChecking yes"
|
||||
} >> ~/.ssh/config
|
||||
chmod 600 ~/.ssh/config
|
||||
|
||||
- name: SSH known_hosts setup
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
ssh-keyscan -p 222 gitea.akshun-lab.cc >> ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/known_hosts
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
||||
Reference in New Issue
Block a user