Scrape Investing Price #31
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: Scrape Investing Price | |
on: | |
schedule: | |
- cron: "*/5 * * * *" # Runs every 5 minutes | |
workflow_dispatch: # Allows manual trigger | |
jobs: | |
scrape: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Create credentials.json | |
run: echo '${{ secrets.CREDENTIAL_GOOGLE_SHEETS }}' > credential_google_sheets.json | |
- name: Run scraper | |
run: python scraping_investing_price.py |