-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (36 loc) · 1.08 KB
/
generate-outputs.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
# This workflow will install Python dependencies, run the scripts to generate output and commit it back to the same branch
name: Berean-Build
on:
push:
paths:
- 'input/*'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: True
ref: ${{ github.head_ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate USFM files
run: |
python scripts/processBSBEnglish.py
python scripts/processWLCHebrew.py
python scripts/processNestleGreek.py
python scripts/processAlignment.py
python scripts/processDictionary.py
- name: Commit generated files back to repo
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Generate output via CI-CD(github actions)