Skip to content

Commit

Permalink
ci: add branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed May 23, 2024
1 parent eb6cdbb commit 554ff67
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
9 changes: 9 additions & 0 deletions .github/crowdin/crowdin-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
files:
- source: /docs/*.md
translation: /docs/%two_letters_code%/%original_file_name%
ignore:
- '/docs/_coverpage.md'
- '/docs/_navbar.md'

project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
10 changes: 3 additions & 7 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ jobs:
upload_translations: false
download_translations: false
push_translations: false
source: docs/*.md
translation: docs/%two_letters_code%/%original_file_name%
ignore: |
docs/_coverpage.md
docs/_navbar.md
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
crowdin_branch_name: ${{ env.BRANCH_NAME }}
config: '.github/crowdin/crowdin.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 554ff67

Please sign in to comment.