File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 push :
99 branches :
1010 - main
11+ workflow_run :
12+ workflows :
13+ - UI refresh pipeline
14+ types :
15+ - completed
1116 workflow_dispatch :
1217
1318jobs :
1419 build :
20+ if : |
21+ github.event_name != 'workflow_run'
22+ || github.event.workflow_run.conclusion == 'success'
1523 runs-on : ubuntu-latest
1624
1725 steps :
Original file line number Diff line number Diff line change 1+ name : UI refresh pipeline
2+
3+ on :
4+ schedule :
5+ - cron : ' 49 4 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ ui-refresh :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Check out repository code
14+ uses : actions/checkout@v6
15+
16+ - name : Randomize heading color
17+ run : |
18+ R=$((RANDOM%256))
19+ G=$((RANDOM%256))
20+ B=$((RANDOM%256))
21+ NEW_COLOR=$(printf '%02x%02x%02x' "$R" "$G" "$B")
22+ MARKER='0a271319-b06c-4e46-b24c-0fde677cf461'
23+ sed -iE "s/[0-9a-f]\{6\}; \/\* $MARKER/$NEW_COLOR; \/\* $MARKER/g" static/style.css
24+
25+ - name : Commit and push changes
26+ uses : stefanzweifel/git-auto-commit-action@v7
27+ with :
28+ commit_message : ' Refresh UI'
You can’t perform that action at this time.
0 commit comments