This file contains 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: Push to Dune on Commit | |
on: | |
push: | |
branches: | |
- main | |
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/push_to_dune.py |