fix(ci): use deploy key to push crowdin changes

Due to the branch protection rules, it is not possible to push directly to the main branch, unless when using a deploy key with write access.
This commit is contained in:
kolaente 2025-04-01 11:54:25 +02:00
parent 556369bfef
commit 1c3a1f2c7c
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
persist-credentials: true
- name: push source files
uses: crowdin/github-action@b8012bd5491b8aa8578b73ab5b5f5e7c94aaa6e2 # v2
with:
@ -54,5 +57,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 }}