-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 1.04 KB
/
import_GR.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
name: importGR
on:
#schedule:
# - cron: '30 16 * * *' # Runs at 16:30 UTC, which is 10:00 PM 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: checkout mahagri2024
uses: actions/checkout@v4
with:
repository: orgpedia/mahagri2024
path: import/mahagri2024
sparse-checkout: |
export/orgpedia_mahagri2024
- name: checkout mahcoop2024
uses: actions/checkout@v4
with:
repository: orgpedia/mahcoop2024
path: import/mahcoop2024
sparse-checkout: |
export/orgpedia_mahcoop2024
- name: list files
run: ls -lR import
- name: import_export
run: python3 import/src/import_data.py import GRs