mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-09-15 21:31:31 +00:00
Update GitHub Action for translation with new script (#290)
This commit is contained in:
6
.github/workflows/translate.yml
vendored
6
.github/workflows/translate.yml
vendored
@@ -23,11 +23,11 @@ jobs:
|
|||||||
uses: actions/setup-python@v4.7.1
|
uses: actions/setup-python@v4.7.1
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
pip install beautifulsoup4
|
pip install google-genai beautifulsoup4 lxml
|
||||||
pip install deep-translator
|
|
||||||
pip install lxml
|
|
||||||
|
|
||||||
- run: python translate.py
|
- run: python translate.py
|
||||||
|
env:
|
||||||
|
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||||
|
|
||||||
# Commit all changed files back to the repository
|
# Commit all changed files back to the repository
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
Reference in New Issue
Block a user