Skip to content

Merge pull request #466 from mastodon/upload-translations #5

Merge pull request #466 from mastodon/upload-translations

Merge pull request #466 from mastodon/upload-translations #5

name: Crowdin / Upload translations
on:
# TODO: remove me
pull_request:
push:
branches:
- main
paths:
- crowdin.yml
- locales/en.yml
jobs:
upload-translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: crowdin action
uses: crowdin/github-action@v1
with:
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 }}