File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 0 4 * * *'
6
6
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'
7
13
8
14
jobs :
9
15
fetch-and-commit-data :
13
19
- name : Checkout
14
20
uses : actions/checkout@v4
15
21
- 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
16
25
run : |
17
26
# fetch ci nightly data as temporary file
18
27
node scripts/fetch-ci-nightly-data.js | tee tmp-data.json
Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from "react" ;
2
2
import { DataTable } from "primereact/datatable" ;
3
3
import { Column } from "primereact/column" ;
4
+ import Head from "next/head" ;
4
5
import { weatherTemplate , getWeatherIndex } from "../components/weatherTemplate" ;
5
6
6
7
@@ -243,7 +244,9 @@ useEffect(() => {
243
244
return (
244
245
< >
245
246
246
- < title > Kata CI Dashboard</ title >
247
+ < Head >
248
+ < title > Kata CI Dashboard</ title >
249
+ </ Head >
247
250
< div className = "text-center text-xs md:text-base" >
248
251
< h1 className = { "text-4xl mt-4 ml-4 mb-6 underline text-inherit \
249
252
hover:text-blue-500" } >
You can’t perform that action at this time.
0 commit comments