Threading Notion stats brute solver for Cemantix #1396
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: 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 }} |