diff --git a/.gitea/workflows/release-tool.yml b/.gitea/workflows/release-tool.yml index 4f51563..804f96f 100644 --- a/.gitea/workflows/release-tool.yml +++ b/.gitea/workflows/release-tool.yml @@ -18,9 +18,20 @@ jobs: set -euo pipefail mkdir -p ~/.ssh chmod 700 ~/.ssh - ssh-keyscan -p 2222 git-ssh.westgate.pw >> ~/.ssh/known_hosts + printf '%s\n' "${{ secrets.GITEA_SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts + - name: Configure SSH + run: | + cat > ~/.ssh/config <<'EOF' + Host git-ssh.westgate.pw + Port 2222 + User git + IdentityFile ~/.ssh/id_ed25519 + IdentitiesOnly yes + EOF + chmod 600 ~/.ssh/config + - name: Sync tools checkout to tag env: TAG_NAME: ${{ github.ref_name }}