Skip to content

.github/workflows/actions.yml #93

.github/workflows/actions.yml

.github/workflows/actions.yml #93

Workflow file for this run

name: Pitchfork Deployment
on:
schedule:
- cron: '0 13 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Git Repo
uses: actions/checkout@v2 # checkout the repository content
- name: Setup Python env
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed
- name: Install Python Packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Execute Pitchfork
env:
GMAIL_USER: ${{ secrets.GMAIL_USER }}
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: python src/menus/pitchfork.py