File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Scrape Talk Locations
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' talks/**'
7
+ - ' talkmap.ipynb'
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Set up Python
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : ' 3.9' # Specify the Python version you need
20
+
21
+ - name : Install dependencies
22
+ run : |
23
+ pip install jupyter pandas requests beautifulsoup4 geopy # Add other dependencies as needed
24
+ pip install getorg --upgrade
25
+
26
+ - name : Run Jupyter Notebook
27
+ run : |
28
+ jupyter nbconvert --to notebook --execute talkmap.ipynb --output talkmap_out.ipynb
29
+
30
+ - name : Commit changes
31
+ run : |
32
+ git config user.name "github-actions[bot]"
33
+ git config user.email "github-actions[bot]@users.noreply.github.com"
34
+ git add .
35
+ git commit -m "Automated update of talk locations" || echo "No changes to commit"
36
+ git push
You can’t perform that action at this time.
0 commit comments