-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (40 loc) · 1.18 KB
/
gen_site.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
52
53
54
55
name: genSite
on:
schedule:
- cron: '30 5 * * *' # Runs at 5:30 UTC, which is 10:30 AM IST
# push:
# branches: [ main ]
jobs:
import_export:
runs-on: ubuntu-latest
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: Setup import
run: make import
- name: checkout mahGRs
uses: actions/checkout@v4
with:
repository: orgpedia/mahGRs
path: import/
sparse-checkout-cone-mode: false
sparse-checkout: GRs/*
- name: Install dependencies
run: make install
- name: Generate site
run: make flow
- name: Commit and push changes
id: commit-and-push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: actions export