Get Citation Data #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Get Citation Data | |
on: | |
page_build: | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Reqs | |
run: | | |
sudo apt-get install python3-setuptools | |
- name: Run | |
run: | | |
cd ./google_scholar_crawler | |
pip3 install -r requirements.txt | |
python3 main.py | |
git add "../assets/results/" | |
git config --global user.email "[email protected]" | |
git config --global user.name "wangrongsheng" | |
git commit -m "* update `date '+%Y-%m-%d %H:%M:%S'`" | |
git push |