From 7d74f0e726ad7ea4c4e5d7fc71fbf18a13ba3b53 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 12 May 2025 12:12:24 +0200 Subject: [PATCH] fix(ci): push swagger docs changes via ssh --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3d772631..5d1af8645 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -270,7 +270,11 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + persist-credentials: true - name: Download Mage Binary uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: @@ -303,5 +307,5 @@ jobs: if: steps.check_changes.outputs.changes_exist != '0' uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + ssh: true branch: ${{ github.ref }}