Skip to content

Commit ea95dc5

Browse files
committed
add action
1 parent 5ffccc9 commit ea95dc5

File tree

4 files changed

+25
-36
lines changed

4 files changed

+25
-36
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
build-and-deploy:
1111
runs-on: ubuntu-latest
12-
12+
1313
permissions:
1414
contents: read
1515
pages: write
1616
id-token: write
1717

1818
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v4
19+
- name: Checkout
20+
uses: actions/checkout@v4
2121

22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: '18'
26-
cache: 'npm'
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: "18"
26+
cache: "npm"
2727

28-
- name: Install dependencies
29-
run: npm ci
28+
- name: Install dependencies
29+
run: npm ci
3030

31-
- name: Build
32-
run: npm run build
31+
- name: Build
32+
run: npm run build
3333

34-
- name: Setup Pages
35-
uses: actions/configure-pages@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v4
3636

37-
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v3
39-
with:
40-
path: './dist'
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: "./dist"
4141

42-
- name: Deploy to GitHub Pages
43-
id: deployment
44-
uses: actions/deploy-pages@v4
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

index.html

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>peppy-presenter-kit</title>
7-
<meta name="description" content="Lovable Generated Project" />
8-
<meta name="author" content="Lovable" />
9-
10-
<meta property="og:title" content="peppy-presenter-kit" />
11-
<meta property="og:description" content="Lovable Generated Project" />
12-
<meta property="og:type" content="website" />
13-
<meta property="og:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
14-
15-
<meta name="twitter:card" content="summary_large_image" />
16-
<meta name="twitter:site" content="@lovable_dev" />
17-
<meta name="twitter:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
6+
<title>Sandrine's portfolio</title>
187
</head>
198

209
<body>

public/favicon.ico

14.9 KB
Binary file not shown.

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { componentTagger } from "lovable-tagger";
55

66
// https://vitejs.dev/config/
77
export default defineConfig(({ mode }) => ({
8-
base: process.env.NODE_ENV === 'production' ? '/peppy-presenter-kit/' : '/',
8+
base: process.env.NODE_ENV === "production" ? "/sandrine-ds.github.io/" : "/",
99
server: {
1010
host: "::",
1111
port: 8080,

0 commit comments

Comments
 (0)