Skip to content

Agent Veille Tech

Agent Veille Tech #47

Workflow file for this run

name: Agent Veille Tech
on:
schedule:
- cron: '20 9 * * *' # 7h Maroc
push:
branches:
- main
workflow_dispatch:
jobs:
veille:
runs-on: ubuntu-latest
steps:
- name: Checkout du code
uses: actions/checkout@v4
- name: Installer Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Installer les dépendances
run: pip install requests beautifulsoup4 groq python-dotenv
- name: Lancer l'agent
env:
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
GMAIL_ADDRESS: ${{ secrets.GMAIL_ADDRESS }}
GMAIL_APP_PASS: ${{ secrets.GMAIL_APP_PASS }}
DESTINATAIRE: ${{ secrets.DESTINATAIRE }}
run: python tech_veille/agent_veille.py