Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaboamah89 authored Nov 15, 2024
1 parent 9edd1f3 commit a6a3383
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,3 @@ jobs:
POEDITOR_PROJECT_ID: "715168"
run: |
python upload_terms.py
- name: Download terms poeditor
env:
POEDITOR_API_TOKEN: ${{ secrets.POEDITOR_API_TOKEN }}
POEDITOR_PROJECT_ID: "715168"
run: |
python download_terms.py
# Stage the downloaded translation files
git add locales/fr/LC_MESSAGES/docs.po
# Check if there are any changes that are staged but not committed.
if [[ "$(git diff --cached --exit-code)" = "" ]]; then
echo "Nothing to commit, working tree clean";
else
# Commit the changes
git commit -m "Auto update deafrica-tools french translation files"
# Update the branch
git push
fi

0 comments on commit a6a3383

Please sign in to comment.