Skip to content

Commit

Permalink
Create scrape_talks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitra-maoutsa authored Dec 29, 2024
1 parent 15c16b8 commit a9501b9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/ workflows /scrape_talks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Scrape Talk Locations

on:
push:
paths:
- 'talks/**'
- 'talkmap.ipynb'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9' # Specify the Python version you need

- name: Install dependencies
run: |
pip install jupyter pandas requests beautifulsoup4 geopy # Add other dependencies as needed
pip install getorg --upgrade
- name: Run Jupyter Notebook
run: |
jupyter nbconvert --to notebook --execute talkmap.ipynb --output talkmap_out.ipynb
- name: Commit changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Automated update of talk locations" || echo "No changes to commit"
git push

0 comments on commit a9501b9

Please sign in to comment.