Baseball Arbitrage Sniper #16
This file contains hidden or 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: Baseball Arbitrage Sniper | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 * * * *' # Runs every hour | |
| jobs: | |
| run-bot: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run Arbitrage Bot | |
| env: | |
| TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} | |
| TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} | |
| ODDS_API_KEY: ${{ secrets.ODDS_API_KEY }} | |
| run: python main_baseball.py |