fix(ci): push swagger docs changes via ssh

This commit is contained in:
kolaente
2025-05-12 12:12:24 +02:00
parent 0bb287023e
commit 7d74f0e726

View File

@@ -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 }}