|
|
|
Use the Crowdin plugin to update translation files.
|
|
|
|
|
|
|
|
You must provide in your configuration:
|
|
|
|
|
|
|
|
* `project_identifier` - Identifier of your Crowdin project (also available as secret `CROWDIN_IDENTIFIER`)
|
|
|
|
* `project_key` - API Key of your Crowdin project (also available as secret `CROWDIN_KEY`)
|
|
|
|
* `files` - Map of files to upload to Crowdin
|
|
|
|
* key: the Crowdin file name
|
|
|
|
* value: the real path the to file
|
|
|
|
* `ignore_branch` It will send the Drone branch to Crowdin if it is `false`. (Default: `false`)
|
|
|
|
|
|
|
|
Information about API keys: https://support.crowdin.com/api/api-integration-setup/
|
|
|
|
## Example
|
|
|
|
|
|
|
|
The following is a sample configuration in your .drone.yml file:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
pipeline:
|
|
|
|
crowdin:
|
|
|
|
image: jonasfranz/crowdin
|
|
|
|
project_identifier: example
|
|
|
|
project_key: 1bc29b36f623ba82aaf6724fd3b16718
|
|
|
|
files:
|
|
|
|
example: options/example.ini
|
|
|
|
example2: options/example2.ini
|
|
|
|
```
|