-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (39 loc) · 1.15 KB
/
translateGR.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: translateGR
on:
schedule:
- cron: '30 21 * * *' # Runs at 21:30 UTC, which is 3:00 AM IST
# push:
# branches: [ main ]
jobs:
process_GRs:
runs-on: ubuntu-latest
outputs:
commit_hash: ${{ steps.commit-and-push.outputs.commit_hash }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8' # specify your Python version
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: make install
- name: Install tesseract binaries
run: make install-tess
- name: Import new infos, download and link
run: make import
- name: Extract, translate
run: make flow
- name: Export
run: make export
- name: Commit and push changes
id: commit-and-push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: actions export