fix(ci): use SSH key directly
Some checks failed
CI/CD / Lint (push) Has been cancelled
CI/CD / Build (darwin-amd64) (push) Has been cancelled
CI/CD / Build (linux-amd64) (push) Has been cancelled
CI/CD / Build (darwin-arm64) (push) Has been cancelled
CI/CD / Build (linux-arm64) (push) Has been cancelled
CI/CD / Generate SBOM (push) Has been cancelled
CI/CD / Build & Push Docker Image (push) Has been cancelled
CI/CD / Release (push) Has been cancelled
CI/CD / Mirror to GitHub (push) Has been cancelled
CI/CD / Test (push) Has been cancelled
Some checks failed
CI/CD / Lint (push) Has been cancelled
CI/CD / Build (darwin-amd64) (push) Has been cancelled
CI/CD / Build (linux-amd64) (push) Has been cancelled
CI/CD / Build (darwin-arm64) (push) Has been cancelled
CI/CD / Build (linux-arm64) (push) Has been cancelled
CI/CD / Generate SBOM (push) Has been cancelled
CI/CD / Build & Push Docker Image (push) Has been cancelled
CI/CD / Release (push) Has been cancelled
CI/CD / Mirror to GitHub (push) Has been cancelled
CI/CD / Test (push) Has been cancelled
This commit is contained in:
@@ -209,10 +209,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
chmod 600 /root/.ssh/id_ed25519 2>/dev/null || true
|
||||||
cp /root/.ssh/id_ed25519 ~/.ssh/id_ed25519
|
ssh-keyscan github.com >> /root/.ssh/known_hosts
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
- name: Clone and mirror
|
- name: Clone and mirror
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user