From 834ace4c872d3b335db8c4ac141f9ef35821567f Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Tue, 7 Jun 2022 21:31:53 +0200 Subject: [PATCH] Fix crowdin sync for web (#2853) * Remove prefixed underscore from crowdin_project_id * Update crowdin push action --- .github/workflows/build-web.yml | 5 ++--- apps/web/crowdin.yml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index 2602905b05..f4d2cd50b5 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -371,8 +371,6 @@ jobs: - build-commercial-selfhost - build-qa runs-on: ubuntu-20.04 - env: - _CROWDIN_PROJECT_ID: "308189" steps: - name: Checkout repo uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 # v2.3.4 @@ -390,10 +388,11 @@ jobs: secrets: "crowdin-api-token" - name: Upload Sources - uses: crowdin/github-action@a3160b9e5a9e00739392c23da5e580c6cabe526d # v1.4.8 + uses: crowdin/github-action@ecd7eb0ef6f3cfa16293c79e9cbc4bc5b5fd9c49 # v1.4.9 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }} + CROWDIN_PROJECT_ID: "308189" with: config: apps/web/crowdin.yml crowdin_branch_name: master diff --git a/apps/web/crowdin.yml b/apps/web/crowdin.yml index 821f35d2c7..ffd50d6e3f 100644 --- a/apps/web/crowdin.yml +++ b/apps/web/crowdin.yml @@ -1,4 +1,4 @@ -project_id_env: _CROWDIN_PROJECT_ID +project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_API_TOKEN preserve_hierarchy: true files: