-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathupdate_and_commit_all.sh
More file actions
59 lines (58 loc) · 1.64 KB
/
update_and_commit_all.sh
File metadata and controls
59 lines (58 loc) · 1.64 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
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# scrape_and_commit_reports () {
# cd wv-legislature
# python agency_reports.py
# git add *.csv
# git commit -m "updated reports" && \
# git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/dwillis/wvu-projects.git master \
# || true
# }
#
# scrape_and_commit_crimelog () {
# cd ..
# cd crime-log
# python crime_log.py
# git add .
# git commit -m "updated crimelog" && \
# git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/dwillis/wvu-projects.git master \
# || true
# }
#
# scrape_and_commit_meetings () {
# cd ..
# cd meeting-notices
# python scraper.py
# git add *.csv
# git commit -m "updated meeting notices" && \
# git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/dwillis/wvu-projects.git master \
# || true
# }
#
# scrape_and_commit_lobbying () {
# cd ..
# cd lobbying
# python lobbying_filings.py
# git add .
# git commit -m "updated lobbying filings" && \
# git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/dwillis/wvu-projects.git master \
# || true
# }
#
# scrape_and_commit_wvu_testing () {
# cd ..
# cd wvu-covid-tests
# python wvu_tests.py
# git add .
# git commit -m "updated wvu tests" && \
# git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/dwillis/wvu-projects.git master \
# || true
# }
#
# git config --global user.email "wvu_projects@example.com"
# git config --global user.name "WVU Projects"
#
# scrape_and_commit_reports
# scrape_and_commit_crimelog
# scrape_and_commit_meetings
# scrape_and_commit_lobbying
# scrape_and_commit_wvu_testing