mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-24 16:34:25 +01:00
35 lines
958 B
YAML
35 lines
958 B
YAML
name: ioBroker-localization
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- HMI/code_gen/localization/iobroker.py
|
|
- apps/nspanel-lovelace-ui/luibackend/translations/*
|
|
- .github/workflows/iobroker-localization.yml
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- HMI/code_gen/localization/iobroker.py
|
|
- apps/nspanel-lovelace-ui/luibackend/translations/*
|
|
- .github/workflows/iobroker-localization.yml
|
|
|
|
jobs:
|
|
gen-ioBroker-localization:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
|
|
- name: Gen ioBroker localization file
|
|
continue-on-error: false
|
|
run: |
|
|
python HMI/code_gen/localization/iobroker.py
|
|
mv ioBroker_NSPanel_locales.json ioBroker/ioBroker_NSPanel_locales.json
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: Update iobroker localization file
|
|
#file_pattern: "**.txt"
|