Skip to content

Refresh Dashboard

Refresh Dashboard #88

name: Refresh Dashboard
on:
schedule:
- cron: '45 10 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Requirements
run: |
cd forecasting_dashboard_app/
pip install -r requirements.txt
- name: Set up credentials
run: |
cd forecasting_dashboard_app/
touch .env
echo MOTHERDUCK_TOKEN=${{ secrets.MOTHERDUCK_TOKEN }} >> .env
- name: Deploy Streamlit App to Ploomber-Cloud
run: |
cd forecasting_dashboard_app/
ploomber-cloud key ${{ secrets.PLOOMBER_API_KEY }}
ploomber-cloud deploy