Skip to content

Threading Notion stats brute solver for Cemantix #1396

Threading Notion stats brute solver for Cemantix

Threading Notion stats brute solver for Cemantix #1396

name: Threading Notion stats brute solver for Cemantix
on:
schedule:
- cron: "0 1 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ⚙️ Checkout repo
uses: actions/checkout@v6
- name: 🐍 Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: 🧰 Install dependencies
run: |
pip3 install requests python-dotenv numpy datetime
- name: 🏋️‍♂️ Execute multi-threading brute python script
run: |
python3 cemantix_solver.py
env:
CEMANTIX_NOTION_TOKEN: ${{ secrets.CEMANTIX_NOTION_TOKEN }}
CEMANTIX_DATABASE_ID: ${{ secrets.CEMANTIX_DATABASE_ID }}