Skip to content

updatepot

updatepot #92

Workflow file for this run

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 $?"