Skip to content

Commit

Permalink
crowdin_upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Apr 23, 2024
1 parent 1e4539b commit 3f1ad4f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/crowdin_upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Crowdin Upload

on:
push:
branches: [ "beta" ]
paths:
- 'app/src/main/res/values/strings.xml'
workflow_dispatch:

jobs:
synchronize-with-crowdin:
name: Upload strings to Crowdin
if: github.repository_owner == 'DHD2280'
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v4

- name: Upload Strings
uses: crowdin/github-action@v1
with:
upload_translations: false
upload_sources: true
download_translations: false
localization_branch_name: beta-localization
create_pull_request: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 3f1ad4f

Please sign in to comment.