Skip to content

Commit

Permalink
Create crowdin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zly2006 authored May 16, 2024
1 parent 2361ea8 commit 346b99e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Crowdin Action

on:
push:
branches: [ 1.20.4 ]
workflow_dispatch:

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Crowdin action
uses: crowdin/github-action@v1
with:
upload_sources: true
download_translations: true
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 346b99e

Please sign in to comment.