2023-07-18 14:56:01 +00:00
|
|
|
name: Crowdin / Upload translations
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
2024-06-08 11:49:02 +00:00
|
|
|
- crowdin-glitch.yml
|
|
|
|
- app/javascript/flavours/glitch/locales/en.json
|
|
|
|
- config/locales-glitch/en.yml
|
|
|
|
- config/locales-glitch/simple_form.en.yml
|
|
|
|
- config/locales-glitch/activerecord.en.yml
|
|
|
|
- config/locales-glitch/devise.en.yml
|
|
|
|
- config/locales-glitch/doorkeeper.en.yml
|
2023-07-18 14:56:01 +00:00
|
|
|
- .github/workflows/crowdin-upload.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
upload-translations:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-11 08:41:26 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-07-18 14:56:01 +00:00
|
|
|
|
|
|
|
- name: crowdin action
|
|
|
|
uses: crowdin/github-action@v1
|
|
|
|
with:
|
2023-07-19 06:36:25 +00:00
|
|
|
config: crowdin-glitch.yml
|
2023-07-18 14:56:01 +00:00
|
|
|
upload_sources: true
|
|
|
|
upload_translations: false
|
|
|
|
download_translations: false
|
|
|
|
crowdin_branch_name: main
|
|
|
|
|
|
|
|
env:
|
|
|
|
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|