Skip to content

Update dashboard html #68254

Update dashboard html

Update dashboard html #68254

Workflow file for this run

# Run this to update the html dashboards. Will run automatically as well.
name: Update dashboard html
on:
workflow_dispatch:
schedule:
- cron: '*/15 * * * *'
push:
branches: [ main ]
jobs:
run_update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install .
- name: Update HTML
run: |
python update_dashboard.py ${{ secrets.GITHUB_TOKEN }} config/tracked_workflows.yaml html/index.html
python update_dashboard.py ${{ secrets.GITHUB_TOKEN }} config/rail_tracked_workflows.yaml html/rail.html
python update_dashboard.py ${{ secrets.GITHUB_TOKEN }} config/tracked_incubator.yaml html/incubator.html
python update_dashboard.py ${{ secrets.GITHUB_TOKEN }} config/lsdb_workflows.yaml html/lsdb.html
python src/lf_workflow_dash/lsdb_interrupts/external_issues.py ${{ secrets.GITHUB_TOKEN }} html/lsdb_issues.html
python src/lf_workflow_dash/lsdb_interrupts/open_prs.py ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to Github pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: html
git-config-name: deploy-bot
git-config-email: <>