Compare commits
6 Commits
562ce29ca1
..
v1.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 2590df3c13 | |||
| 59d53c515d | |||
| 4690263ba8 | |||
| e31729e27a | |||
| c5433a23ee | |||
| fb705c234f |
@@ -1,10 +1,30 @@
|
||||
name: Build and publish container
|
||||
|
||||
on:
|
||||
# On merge to main, only build/release when image-affecting files change;
|
||||
# CI-config, Renovate-config and docs changes do not produce a new image.
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'Dockerfile'
|
||||
- 'default.conf'
|
||||
- 'index.html'
|
||||
- 'styles.css'
|
||||
- 'script.js'
|
||||
- 'messages.js'
|
||||
- '.dockerignore'
|
||||
# Pull requests always run (the build is a required check); no path filter.
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
# A newer run cancels an older in-flight run in the same group (keyed by ref),
|
||||
# so a fresh merge to main supersedes the previous build and only the latest
|
||||
# release is produced, avoiding tags that would be immediately replaced. Each
|
||||
# pull request likewise supersedes only its own earlier runs.
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Lightweight, non-root nginx serving the static site.
|
||||
# Runs as user "nginx" and listens on 8080, ready to sit behind an
|
||||
# external reverse proxy that terminates TLS and forwards requests.
|
||||
FROM nginxinc/nginx-unprivileged:1.31-alpine-slim@sha256:6616de6eaa82bc2ee3541fa287a8fca7dc7271e6374e9402014dbd13f4a980ae
|
||||
FROM nginxinc/nginx-unprivileged:1.31-alpine-slim@sha256:762e8e4e5e103817c4158400fc3753c8e713ff8153b8c3afbb458ae4572bc9a3
|
||||
|
||||
COPY default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --chown=nginx:nginx index.html styles.css script.js messages.js /usr/share/nginx/html/
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Why is the DLR shut today?</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rokkitt:wght@400;700;800&display=swap">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body data-theme="modern">
|
||||
|
||||
+13
-9
@@ -19,16 +19,20 @@
|
||||
--button-active-text: #ffffff;
|
||||
}
|
||||
|
||||
/* Original DLR — 1987 red, white and blue */
|
||||
/* Original DLR — 1987 P86/P89 livery: blue body and skirt, red band and
|
||||
doors, white stripes. Blue is the dominant field, red the accent.
|
||||
1987 branding used the Rockwell slab serif; Rokkitt is a free fallback for
|
||||
systems without Rockwell installed. */
|
||||
[data-theme="original"] {
|
||||
--bg: #c8102e;
|
||||
--surface: #002b5c;
|
||||
--text: #f5f0e1;
|
||||
--message: #f5f0e1;
|
||||
--button-bg: #002b5c;
|
||||
--button-text: #f5f0e1;
|
||||
--button-active-bg: #f5f0e1;
|
||||
--button-active-text: #002b5c;
|
||||
--font-stack: Rockwell, "Rockwell Nova", Rokkitt, Georgia, serif;
|
||||
--bg: #1f3a93;
|
||||
--surface: #c8102e;
|
||||
--text: #ffffff;
|
||||
--message: #ffffff;
|
||||
--button-bg: #c8102e;
|
||||
--button-text: #ffffff;
|
||||
--button-active-bg: #ffffff;
|
||||
--button-active-text: #1f3a93;
|
||||
}
|
||||
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user