Skip to content

Commit c7b2966

Browse files
authored
Deployed site
Deployed site
1 parent 6f12f58 commit c7b2966

17 files changed

+181
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v3
16+
17+
- name: Setup Node
18+
uses: actions/setup-node@v3
19+
20+
- name: Install dependencies
21+
uses: bahmutov/npm-install@v1
22+
23+
- name: Build project
24+
run: npm run build
25+
26+
- name: Upload production-ready build files
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: production-files
30+
path: ./dist
31+
32+
deploy:
33+
name: Deploy
34+
needs: build
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Download artifact
39+
uses: actions/download-artifact@v4
40+
with:
41+
name: production-files
42+
path: ./dist
43+
44+
- name: Deploy to GitHub Pages
45+
uses: peaceiris/actions-gh-pages@v3
46+
with:
47+
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
publish_dir: ./dist
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ node_modules
1111
dist
1212
dist-ssr
1313
*.local
14-
1514
# Editor directories and files
1615
.vscode/*
1716
!.vscode/extensions.json

.nojekyll

Whitespace-only changes.
File renamed without changes.

assets/index-B7vK0iRv.js

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/index-DsTtlg6k.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Aditya Shankarnarayan</title>
8+
<script type="module" crossorigin src="/assets/index-B7vK0iRv.js"></script>
9+
<link rel="stylesheet" crossorigin href="/assets/index-DsTtlg6k.css">
810
</head>
911
<body>
1012
<div id="root"></div>
11-
<script type="module" src="/src/main.jsx"></script>
1213
</body>
1314
</html>
File renamed without changes.

0 commit comments

Comments
 (0)