updatepot #92
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@v3 | |
with: | |
ref: 'master' | |
- name: updatepot | |
run: | | |
sudo apt-get -q update | |
sudo apt-get install gettext | |
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 $?" |