From c59464a076f18280a21ad4f4a96bd375dc4e50f3 Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Sat, 28 Feb 2026 13:20:58 +0800 Subject: [PATCH] ci(sync): update sync workflow remote configuration - add explicit `ssh-host` field to remote matrix entries for clarity - update ssh-keyscan commands to use `ssh-host` instead of `name` - rename remote identifiers in matrix from domain names to platform names --- .github/workflows/sync.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 14a008e4b..ded15f95c 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -23,10 +23,12 @@ jobs: fail-fast: false matrix: remote: - - name: codeberg.org + - name: Codeberg + ssh-host: codeberg.org ssh-url: git@codeberg.org:pooneyy/1Panel-Appstore.git https-url: https://codeberg.org/pooneyy/1Panel-Appstore - - name: gitea.com + - name: Gitea + ssh-host: gitea.com ssh-url: git@gitea.com:pooneyy/1Panel-Appstore.git https-url: https://gitea.com/pooneyy/1Panel-Appstore @@ -49,7 +51,7 @@ jobs: - name: 添加目标主机的公钥 run: | mkdir -p ~/.ssh - ssh-keyscan ${{ matrix.remote.name }} >> ~/.ssh/known_hosts + ssh-keyscan ${{ matrix.remote.ssh-host }} >> ~/.ssh/known_hosts - name: 配置本地仓库 run: |