Skip to content

Commit

Permalink
ci: add sphinx-intl (.po) locales path; precise commit msg
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Nov 27, 2024
1 parent c311d61 commit ce80257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
shell: bash
run: |
lang=($OTHER_LANGS)
venv/bin/sphinx-intl update -p data.git/locales/ ${lang[@]/*/'-l '&' '}
venv/bin/sphinx-intl update -p data.git/locales/ -d data.git/locales/ ${lang[@]/*/'-l '&' '}
rm -rf data.git/locales/.doctrees
# this one looks like a upstream bug for the auto-translation
Expand All @@ -88,6 +88,6 @@ jobs:
git config --global --add safe.directory $(pwd)
git config --global user.name "GitHub Action"
git config --global user.email "[email protected]"
if (git commit -m "Automated .pot generation" locales); then
if (git commit -m "Automated .pot/.po generation" locales); then
git push
fi

0 comments on commit ce80257

Please sign in to comment.