Skip to content

Commit f37a637

Browse files
SamSam
authored andcommitted
feat: add PWA support and CI/CD workflow
1 parent eca15a1 commit f37a637

7 files changed

Lines changed: 7030 additions & 2390 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Install and Build
19+
run: |
20+
npm ci
21+
npm run build
22+
23+
- name: Deploy
24+
uses: JamesIves/github-pages-deploy-action@v4
25+
with:
26+
folder: dist

‎index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta charset="UTF-8" />
66
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<meta name="theme-color" content="#0f172a" />
9+
<link rel="apple-touch-icon" href="/pwa-192x192.png" />
810
<link href="https://fonts.googleapis.com/css2?family=VT323&family=Inter:wght@300;400;600&display=swap"
911
rel="stylesheet">
1012
<title>CineHub - Retro Fluent</title>

0 commit comments

Comments
 (0)