Skip to content

New Crowdin translations by GitHub Action (#2096) #26

New Crowdin translations by GitHub Action (#2096)

New Crowdin translations by GitHub Action (#2096) #26

name: Crowdin upload
on:
push:
paths:
- custom_components/powercalc/translations/*
- crowdin.yaml
branches: [ master ]
workflow_dispatch:
jobs:
synchronize-with-crowdin:
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: true
download_translations: false
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}