Scheduled updates inhibited by migration (#120) #181
This file contains 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 po files | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
update-po-files: | |
runs-on: ubuntu-latest | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the | |
# added or changed files to the repository. | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Sphinx | |
run: sudo apt-get install -y python3-sphinx python3-pip | |
- name: Install Sphinx deps | |
run: pip install -r requirements.txt | |
- name: Update po files | |
id: update-po | |
run: | | |
make gettext | |
sphinx-intl update -p _build/gettext -l it | |
# Commit all changed files back to the repository | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update po files |