-
Notifications
You must be signed in to change notification settings - Fork 11
48 lines (34 loc) · 1.02 KB
/
scrapdata.yml
File metadata and controls
48 lines (34 loc) · 1.02 KB
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
name: scrapping
on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set Timezone
uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Singapore"
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Python Environment
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Requirements
run: pip install -r requirements.txt
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Execute Python script
run: |
python scripts/main.py
- name: setup git config
run: |
git config --global user.name "GDSC | ASIET"
git config --global user.email "[email protected]"
git add -A
git commit -m "Update data"
git push