-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.12 KB
/
IEEEScraper.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
name: Scraping IEEE-RAS Conferences
on:
schedule:
- cron: '0 0 * * 0'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
update-conferences:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4 glob2 DateTime
- name: Run IEEE_scraper
id: scraper
run: |
cd script
python IEEE_scraper.py
continue-on-error: true
- name: Create Pull Request
if: ${{ steps.scraper.outcome == 'success' }}
uses: peter-evans/create-pull-request@v5
with:
commit-message: Scraped IEEE-RAS Conferences
title: I found new Conferences from IEEE-RAS Website!
body: |
- Please check my modification before merging!
branch: scrape-ieee-ras-conferences
add-paths: www/data/conf*.json
assignees: 'torydebra'