Skip to content

Data Refresh - Python #624

Data Refresh - Python

Data Refresh - Python #624

name: Data Refresh - Python
on:
schedule:
- cron: "0 */12 * * *"
jobs:
refresh-the-dashboard:
runs-on: ubuntu-22.04
container:
image: rkrispin/data-pipeline-automation-with-github-actions:prod
steps:
- name: checkout_repo
uses: actions/checkout@v3
with:
ref: "main"
- name: Data Refresh
run: bash ./python/data_refresh_py.sh
env:
EIA_API_KEY: ${{ secrets.EIA_API_KEY }}
USER_EMAIL: ${{ secrets.USER_EMAIL }}
USER_NAME: ${{ secrets.USER_NAME }}