Skip to content

Check Amazon Price

Check Amazon Price #56

Workflow file for this run

name: Check Amazon Price
on:
schedule:
# Runs at 8:00 AM UTC every day. You can change this.
# Use crontab.guru to easily generate schedules.
- cron: '0 8 * * *'
workflow_dispatch: # Allows you to run it manually from the Actions tab
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # You can change the version if needed
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4
- name: Run Price Tracker Script
env:
SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }}
SENDER_PASSWORD: ${{ secrets.SENDER_PASSWORD }}
RECIPIENT_EMAIL: ${{ secrets.RECIPIENT_EMAIL }}
run: python price_tracker.py