Skip to content

Refresh Dune Table

Refresh Dune Table #5

name: Refresh Dune Table
on:
workflow_dispatch:
jobs:
run-script:
runs-on: ubuntu-latest
env:
DB_HOST: ${{ secrets.DB_HOST }}
DB_PORT: ${{ secrets.DB_PORT }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Refresh Dune Table
run: python automations/refresh_dune_table.py
timeout-minutes: 55