Skip to content

Commit

Permalink
fix crowdin workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 committed Sep 30, 2024
1 parent e10773c commit b0cbcb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/auto-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: "main"

- name: Set environment variables
id: set-secrets
run: |
echo "CROWDIN_PROJECT_ID=${{ secrets.CROWIN_PROJECT_ID }}" >> $GITHUB_ENV
echo "CROWDIN_API_TOKEN=${{ secrets.CROWDIN_TOKEN_THING }}" >> $GITHUB_ENV

- name: Grab strings from Crowdin
uses: crowdin/[email protected]
Expand All @@ -39,6 +31,11 @@ jobs:
pull_request_base_branch_name: "main"
github_user_name: Crowdin Bot (Actions)
github_user_email: [email protected]
skip_checkout_ref: false
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_TOKEN_THING }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Debug - check directory
run: ls
3 changes: 0 additions & 3 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_API_TOKEN"
"base_path": "."
"base_url": "https://api.crowdin.com"

"preserve_hierarchy": true

Expand Down

1 comment on commit b0cbcb0

@blryface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

Please sign in to comment.