Skip to content

Commit aa35d2d

Browse files
authored
Merge branch 'main' into small-enhancements
2 parents fb38fc0 + 054713a commit aa35d2d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/fetch-ci-nightly-data.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
schedule:
55
- cron: '0 4 * * *'
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- 'scripts/fetch-ci-nightly-data.js'
12+
- '.github/workflows/fetch-ci-nightly-data.yaml'
713

814
jobs:
915
fetch-and-commit-data:
@@ -13,6 +19,9 @@ jobs:
1319
- name: Checkout
1420
uses: actions/checkout@v4
1521
- name: Update dashboard data
22+
# Use bash to fail fast:
23+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
24+
shell: bash
1625
run: |
1726
# fetch ci nightly data as temporary file
1827
node scripts/fetch-ci-nightly-data.js | tee tmp-data.json

pages/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useEffect, useState } from "react";
22
import { DataTable } from "primereact/datatable";
33
import { Column } from "primereact/column";
4+
import Head from "next/head";
45
import { weatherTemplate, getWeatherIndex } from "../components/weatherTemplate";
56

67

@@ -158,6 +159,10 @@ export default function Home() {
158159

159160
return (
160161
<div className="text-center">
162+
<Head>
163+
<title>Kata CI Dashboard</title>
164+
</Head>
165+
161166
<h1
162167
className={
163168
"text-4xl mt-4 mb-0 underline text-inherit hover:text-blue-500"

0 commit comments

Comments
 (0)