Skip to content

Commit

Permalink
ci/makemessages: update to v2 token + project ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyene authored May 27, 2024
1 parent 3f0becc commit 7ded313
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/makemessages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
python manage.py makemessages -l en -d djangojs
- name: Upload strings to Crowdin
env:
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_V2_TOKEN }}
run: |
cat > crowdin.yaml <<EOF
project_identifier: dmoj
id: 142963
files:
- source: /locale/en/LC_MESSAGES/django.po
Expand All @@ -49,5 +49,5 @@ jobs:
zh-CN: zh_Hans
sr-CS: sr_Latn
EOF
echo "api_key: ${CROWDIN_API_TOKEN}" >> crowdin.yaml
echo "api_token: ${CROWDIN_API_TOKEN}" >> crowdin.yaml
crowdin upload sources

0 comments on commit 7ded313

Please sign in to comment.