Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Initial commit

Initial commit #1

name: Upload CSVs to Dune on Commit
on:
push:
branches:
- main
paths:
- 'uploads/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Log directory structure
run: |
pwd
ls -R
- name: pip requirements
run: pip install -r requirements.txt
- name: Update all queries from Dune, by overwriting queries with repo query text
env:
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }}
run: python -u scripts/upload_to_dune.py