From e9436b725dd6a06c39f9d3cb7330f47261b5b6f1 Mon Sep 17 00:00:00 2001 From: Oscar Fonts Date: Tue, 4 Jun 2024 08:24:46 +0200 Subject: [PATCH] Add compiled translations on Publish to PyPi Action. Closes #824 --- .github/workflows/publish_pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 8b86c378..e811bd24 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -26,5 +26,6 @@ jobs: poetry-version: ${{ matrix.poetry-version }} - name: Build and publish run: | + poetry run pybabel compile --domain django --directory djoser/locale -f poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} poetry publish --build --no-interaction