Skip to content

Commit b0296c2

Browse files
committed
feat: optimize CI/CD workflow and add HALT favicon
- Add path-based deployment filters to only deploy frontend/backend when relevant files change - Implement circular HALT favicon with transparent edges and neon circuit board design - Add favicon in multiple sizes (16x16, 32x32, 180x180, 192x192, 512x512) with proper alpha channel - Create web app manifest for PWA support - Update page title to 'HALT - The AI Store'
1 parent 330ccb3 commit b0296c2

9 files changed

Lines changed: 64 additions & 13 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,32 @@ env:
1717
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
1818

1919
jobs:
20+
# Detect which paths changed
21+
changes:
22+
runs-on: ubuntu-latest
23+
outputs:
24+
frontend: ${{ steps.filter.outputs.frontend }}
25+
backend: ${{ steps.filter.outputs.backend }}
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: dorny/paths-filter@v2
30+
id: filter
31+
with:
32+
filters: |
33+
frontend:
34+
- 'frontend/**'
35+
- 'package.json'
36+
- '.github/workflows/deploy.yml'
37+
backend:
38+
- 'backend/**'
39+
- 'package.json'
40+
- '.github/workflows/deploy.yml'
41+
2042
deploy-frontend:
43+
needs: changes
44+
if: needs.changes.outputs.frontend == 'true'
2145
runs-on: ubuntu-latest
22-
if: success()
2346
steps:
2447
- uses: actions/checkout@v4
2548

@@ -46,8 +69,9 @@ jobs:
4669
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_FRONTEND }}
4770

4871
deploy-backend:
72+
needs: changes
73+
if: needs.changes.outputs.backend == 'true'
4974
runs-on: ubuntu-latest
50-
if: success()
5175
steps:
5276
- uses: actions/checkout@v4
5377

frontend/index.html

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>frontend</title>
8-
</head>
9-
<body>
10-
<div id="root"></div>
11-
<script type="module" src="/src/main.tsx"></script>
12-
</body>
13-
</html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
7+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
8+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
9+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
10+
<link rel="manifest" href="/site.webmanifest">
11+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
12+
<meta name="theme-color" content="#00d9ff">
13+
<title>HALT - The AI Store</title>
14+
</head>
15+
16+
<body>
17+
<div id="root"></div>
18+
<script type="module" src="/src/main.tsx"></script>
19+
</body>
20+
21+
</html>
75.4 KB
Loading
408 KB
Loading
67.3 KB
Loading

frontend/public/favicon-16x16.png

845 Bytes
Loading

frontend/public/favicon-32x32.png

2.55 KB
Loading

frontend/public/favicon.ico

2.55 KB
Binary file not shown.

frontend/public/site.webmanifest

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "HALT - The AI Store",
3+
"short_name": "HALT",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#00d9ff",
17+
"background_color": "#1a1a2e",
18+
"display": "standalone"
19+
}

0 commit comments

Comments
 (0)