From 31fad632bb21c9e42a28b89f0e7b602302793281 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Thu, 23 May 2024 15:21:10 +0800 Subject: [PATCH] fix typo --- .github/crowdin/crowdin-push.yml | 8 ++++---- .github/workflows/crowdin.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/crowdin/crowdin-push.yml b/.github/crowdin/crowdin-push.yml index 0e7f8a9e42..2a727e2fb5 100644 --- a/.github/crowdin/crowdin-push.yml +++ b/.github/crowdin/crowdin-push.yml @@ -1,9 +1,9 @@ files: - - source: docs/*.md - translation: docs/%two_letters_code%/%original_file_name% + - source: /docs/*.md + translation: /docs/%two_letters_code%/%original_file_name% ignore: - - 'docs/_coverpage.md' - - 'docs/_navbar.md' + - '/docs/_coverpage.md' + - '/docs/_navbar.md' project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_PERSONAL_TOKEN diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index a448564342..a13a3bbcf7 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -23,6 +23,7 @@ jobs: push_translations: false crowdin_branch_name: ${{ env.BRANCH_NAME }} config: '.github/crowdin/crowdin-push.yml' + base_path: ${{ github.workspace }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}