Skip to content

Data Refresh - R

Data Refresh - R #582

name: Data Refresh - R
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 ./R/data_refresh_R.sh
env:
EIA_API_KEY: ${{ secrets.EIA_API_KEY }}
USER_EMAIL: ${{ secrets.USER_EMAIL }}
USER_NAME: ${{ secrets.USER_NAME }}