Skip to content

Commit cd85bfa

Browse files
committed
feat: initialize project with SvelteKit, GitHub Actions deployment, and custom UI components
1 parent ed33ae5 commit cd85bfa

34 files changed

Lines changed: 9771 additions & 4478 deletions

.github/workflows/deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy Portfolio to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master # Triggers on either branch naming convention
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build-and-deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Bun Environment
20+
uses: oven-sh/setup-bun@v2
21+
with:
22+
bun-version: latest
23+
24+
- name: Install dependencies
25+
run: bun install --frozen-lockfile
26+
27+
- name: Compile and build production bundle
28+
run: bun run build
29+
30+
- name: Deploy to GitHub Pages branch
31+
uses: JamesIves/github-pages-deploy-action@v4
32+
with:
33+
folder: dist
34+
branch: gh-pages
35+
clean: true

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Node/Bun dependencies
2+
node_modules/
3+
bun.lockb
4+
.npm/
5+
6+
# Compile build outputs
7+
dist/
8+
dist-ssr/
9+
*.local
10+
11+
# Svelte compile / Svelte check logs
12+
.svelte-kit/
13+
.svelte/
14+
svelte-check.log
15+
build_error.log
16+
17+
# IDEs and editors configs
18+
.vscode/
19+
.idea/
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
# OS files
27+
.DS_Store
28+
Thumbs.db

0 commit comments

Comments
 (0)