generates_locales.yml 685 B

12345678910111213141516171819202122232425
  1. name: L10n
  2. on:
  3. push:
  4. branches:
  5. - master
  6. paths:
  7. - 'doc/**'
  8. - '!doc/locale/**'
  9. jobs:
  10. generates_locales:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v2
  14. - uses: ammaraskar/sphinx-action@master
  15. with:
  16. docs-folder: "doc/"
  17. pre-build-command: pip install -r requirements.txt
  18. build-command: make gettext
  19. - uses: actions/checkout@v2
  20. - name: Commit report
  21. run: |
  22. git config --global user.name 'Nextcloud Bot'
  23. git config --global user.email 'bot@nextcloud.com'
  24. git commit -am "Updates catalog templates (POT files fetched automatically by transifex)"
  25. git push