Scraping Google Play Reviews #295
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: Scraping Google Play Reviews | |
on: | |
schedule: | |
- cron: 0 02 * * * # At 09:00 UTC+7 every day | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out the repository content | |
uses: actions/checkout@v2 | |
- name: set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: install requirements | |
run: | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: execute the script | |
env: | |
MONGODB_URL: ${{ secrets.MONGODB_URL }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
run: python scraping_daily.py |