Skip to content

Commit 2eaf1bb

Browse files
author
Parsa Azari
committed
Add GitHub Pages deployment workflow and configure base path for production
1 parent 5aeb931 commit 2eaf1bb

File tree

3 files changed

+50
-5
lines changed

3 files changed

+50
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '18'
26+
cache: 'npm'
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Build
32+
run: npm run build
33+
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v4
36+
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: ./dist
41+
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# 3D Portfolio - Severance Environment
1+
# 3D Portfolio
22

3-
An immersive 3D portfolio experience inspired by the Apple TV+ series "Severance". Navigate through a corporate corridor environment to explore different sections of work and art.
3+
An immersive 3D portfolio experience showcasing creative work, performance art, and development projects through an interactive virtual environment.
44

55
## ✨ Features
66

7-
- **Interactive 3D Environment**: Navigate through a Severance-inspired office building
7+
- **Interactive 3D Environment**: Navigate through a modern office-inspired space
88
- **Portfolio Sections**:
99
- Design Work & Creative Development
1010
- Film & Video Projects
1111
- Performance Art Documentation
12-
- MDR (Macrodata Refinement) Interactive Experience
12+
- Interactive Experiences
1313
- **Dynamic Lighting**: Procedural lighting system with atmospheric effects
1414
- **Modern Web Technologies**: Built with Three.js and modern JavaScript
1515

@@ -113,4 +113,4 @@ For inquiries about the work showcased in this portfolio, please reach out throu
113113

114114
---
115115

116-
*Inspired by the architectural and psychological spaces of "Severance" (Apple TV+)*
116+
*A personal portfolio showcasing creative work through immersive 3D experiences*

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from "vite";
22
import { resolve } from "path";
33

44
export default defineConfig({
5+
base: process.env.NODE_ENV === 'production' ? '/3D-Portfolio/' : '/',
56
server: {
67
port: 3000,
78
open: true,

0 commit comments

Comments
 (0)