Update extract_template.sh for twig #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update POT | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths-ignore: | |
| - 'locales/**' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| run: | |
| name: Update POT | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: install xgettext | |
| run: sudo apt-get install gettext; | |
| - name: Update POT | |
| run: sh tools/extract_template.sh; | |
| - name: Commit changes | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "Update POT" | |
| - name: Push changes | |
| uses: actions-go/push@master | |
| with: | |
| commit-message: '' | |