Skip to content

Build digest

Build digest #66

Workflow file for this run

name: Build digest
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Build digest
run: |
poetry run python main.py
env:
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MAKE_WEBHOOK_URL: ${{ secrets.MAKE_WEBHOOK_URL }}