Skip to content

Commit

Permalink
feat: pot is build in gh action and no longer needed in repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ElJocho committed Feb 28, 2024
1 parent 126e17a commit 027f035
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1,377 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/crowdin-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Crowdin Action

on:
push:
branches: [ 12-add-translations ]
branches: [ automate_pot_creation ]

jobs:
synchronize-with-crowdin:
Expand All @@ -11,8 +11,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python3.10 -m pip install pybabel
pybabel extract -F config/babel.cfg -o messages.pot .
- name: crowdin action
- name: Sync GH and Crowdin
uses: crowdin/[email protected]
with:
upload_sources: true
Expand Down
Loading

0 comments on commit 027f035

Please sign in to comment.