Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 217dea3

Browse files
author
Leandro Alves
authored
Merge pull request #237 from vespa-engine/leandro/shut-down
Add shutdown page and simplify build to deploy only index.html
2 parents d6125eb + e0c366e commit 217dea3

2 files changed

Lines changed: 49 additions & 19 deletions

File tree

.github/workflows/deploy-ui.yaml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,21 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: Check out code
19-
uses: actions/checkout@v4
20-
- name: Use Node.js 16
21-
uses: actions/setup-node@v4
22-
with:
23-
node-version: '16.x'
24-
- name: Build code
25-
run: |
26-
set -ex
27-
shopt -s extglob
28-
cd "${GITHUB_WORKSPACE}"
29-
ls -la
30-
yarn install
31-
yarn build
32-
- name: Upload artifacts
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: site-artifacts
36-
path: build
18+
- name: Check out code
19+
uses: actions/checkout@v4
20+
21+
- name: Create a “build” directory and copy index.html
22+
run: |
23+
# fail on any error
24+
set -e
25+
mkdir -p build
26+
cp index.html build/index.html
27+
28+
- name: Upload artifacts
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: site-artifacts
32+
path: build
3733

3834
check-artifact:
3935
if: github.event_name == 'pull_request'

index.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>CORD-19 UI Shutdown</title>
7+
<style>
8+
body {
9+
font-family: sans-serif;
10+
text-align: center;
11+
padding: 5rem;
12+
color: #333;
13+
}
14+
a {
15+
color: #006fcf;
16+
text-decoration: none;
17+
font-weight: bold;
18+
}
19+
a:hover {
20+
text-decoration: underline;
21+
}
22+
</style>
23+
</head>
24+
<body>
25+
<h1>CORD-19 UI Has Been Shut Down</h1>
26+
<p>
27+
The CORD-19 frontend application is no longer available.<br/>
28+
You can still browse the source code on GitHub:
29+
</p>
30+
<p>
31+
<a href="https://github.com/vespa-engine/cord-19" target="_blank" rel="noopener">GitHub Repository →</a>
32+
</p>
33+
</body>
34+
</html>

0 commit comments

Comments
 (0)