removed unused crowdin flow

This commit is contained in:
Vadim 2023-09-02 10:44:36 +02:00
parent 3f1a402c66
commit 723105d07a
2 changed files with 0 additions and 43 deletions

View file

@ -1,33 +0,0 @@
name: Crowdin push
on:
workflow_dispatch:
push:
paths:
- lib/l10n/**
branches:
- main
- crowdin
concurrency:
group: ${{ github.workflow }}
permissions:
contents: read
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
CROWDIN_PROJECT_ID: 567473
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
jobs:
upload-files:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v3
- name: Upload
uses: crowdin/github-action@1.5.0
with:
crowdin_branch_name: main
upload_sources: true
upload_sources_args: "--delete-obsolete"
upload_translations: true
import_eq_suggestions: true
auto_approve_imported: false
add_crowdin_branch: main

View file

@ -1,10 +0,0 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_TOKEN
base_path: "./lib/l10n"
base_url: "https://api.crowdin.com"
preserve_hierarchy: true
files:
- source: "/intl_en.arb"
translation: "%original_path%/intl_%two_letters_code%.arb"