updatepot #125
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: updatepot | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'master' | |
- uses: jbleyel/gettext-action@v1 | |
- name: updatepot | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "atv enigma po Bot" | |
git config advice.addignoredfile false | |
git clean -fd | |
git checkout master | |
cd po | |
./updatepot.sh | |
cd .. | |
git add -u | |
git add * || : | |
git commit -m "pot update" | |
git remote add upstream https://${GITHUB_TOKEN}@github.com/openatv/enigma2.git > /dev/null 2>&1 | |
git push --quiet upstream master || echo "failed to push with error $?" |