Skip to content

Commit

Permalink
ci: create crowdin action
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed May 23, 2024
1 parent 4ae87bb commit 4e258ab
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Crowdin Action

on:
workflow_dispatch:
push:
branches: [ develop, feat/crowdin ]

jobs:
crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Crowdin push
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
upload_sources_args: --source=docs
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 4e258ab

Please sign in to comment.