updating the project id env

This commit is contained in:
Joseph Flinn 2021-08-26 08:17:17 -07:00
parent e401a52365
commit f8b362b109
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,8 @@ jobs:
crowdin-sync:
name: Autosync
runs-on: ubuntu-20.04
env:
_CROWDIN_PROJECT_ID: "268134"
steps:
- name: Checkout repo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
@ -30,7 +32,6 @@ jobs:
uses: crowdin/github-action@e39093fd75daae7859c68eded4b43d42ec78d8ea
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: "268134"
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
with:
config: crowdin.yml

View File

@ -1,3 +1,5 @@
project_id_env: _CROWDIN_PROJECT_ID
api_token_env: CROWDIN_API_TOKEN
files:
- source: /src/_locales/en/messages.json
translation: /src/_locales/%two_letters_code%/%original_file_name%