Skip to content

mainsite - Generate technical references monitoring dashboard #2

mainsite - Generate technical references monitoring dashboard

mainsite - Generate technical references monitoring dashboard #2

name: mainsite - Generate technical references monitoring dashboard
on:
workflow_dispatch:
push:
paths:
- 'tab_technical.md'
schedule:
- cron: '0 0 * * 0'
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run generation of the dashboard
run: |
cd ci; python monitoring_technical_references_generate_dashboard.py "${{ secrets.GITHUB_TOKEN }}"
- name: Set up Git user
run: git config --global user.email "gha@github.com"; git config --global user.name "GHActionBot"
- name: Commit update
run: git commit -am "Sync monitoring technical references dashboard file"; git push