Skip to content

Commit 2c9b749

Browse files
committed
Maintenance mode
1 parent 1dca93f commit 2c9b749

3 files changed

Lines changed: 35 additions & 2 deletions

File tree

.github/workflows/firebase-hosting-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- run: npm ci && npm run build --prod
14+
- run: cp -r maintenance docs #npm ci && npm run build --prod
1515
- uses: FirebaseExtended/action-hosting-deploy@v0
1616
with:
1717
repoToken: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- run: npm ci && npm run build --prod
12+
- run: - run: cp -r maintenance docs #npm ci && npm run build --prod
1313
- uses: FirebaseExtended/action-hosting-deploy@v0
1414
with:
1515
repoToken: '${{ secrets.GITHUB_TOKEN }}'

maintenance/index.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
6+
<title>Sorry!</title>
7+
<style>
8+
body,
9+
html {
10+
background: black;
11+
color: white;
12+
}
13+
14+
.container {
15+
width: 100%;
16+
max-width: 700px;
17+
padding: 10px;
18+
border-radius: 10px;
19+
background: #111;
20+
margin: 100px auto;
21+
font-family: sans-serif;
22+
}
23+
</style>
24+
</head>
25+
26+
<body>
27+
<div class="container">
28+
LU-Explorer is currently unavailable.
29+
</div>
30+
31+
</body>
32+
33+
</html>

0 commit comments

Comments
 (0)