Daily Resident Advisor Scrape #84
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: Daily Resident Advisor Scrape | |
on: | |
schedule: | |
- cron: "0 18 * * *" | |
workflow_dispatch: | |
jobs: | |
scrape: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements_resident_advisor.txt | |
- name: Run scraper | |
env: | |
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }} | |
SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }} | |
PROXY_USERNAME: ${{ secrets.PROXY_USERNAME }} | |
PROXY_PASSWORD: ${{ secrets.PROXY_PASSWORD }} | |
PROXY_URL: ${{ secrets.PROXY_URL }} | |
run: python resident_advisor.py |