mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
fix: translation action wrong location (#7975)
* set destination * cleanup files before submitting
This commit is contained in:
8
.github/workflows/translations.yaml
vendored
8
.github/workflows/translations.yaml
vendored
@ -40,6 +40,14 @@ jobs:
|
||||
apt-dependency: gettext
|
||||
- name: Make Translations
|
||||
run: invoke translate
|
||||
- name: Remove compiled static files
|
||||
run: rm -rf src/backend/InvenTree/static
|
||||
- name: Remove all local changes that are not *.po files
|
||||
run: |
|
||||
git add /src/backend/InvenTree/locale/en/LC_MESSAGES/django.po /src/frontend/src/locales/en/messages.po
|
||||
git commit -m "add translations"
|
||||
git reset --hard
|
||||
git reset HEAD~
|
||||
- name: crowdin action
|
||||
uses: crowdin/github-action@6ed209d411599a981ccb978df3be9dc9b8a81699 # pin@v2
|
||||
with:
|
||||
|
Reference in New Issue
Block a user