Skip to content

Update dashboard html #36167

Update dashboard html

Update dashboard html #36167

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@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
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
- 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: <>