Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 875 Bytes

File metadata and controls

49 lines (38 loc) · 875 Bytes

Deployment Guide

GitHub Pages (Live Hosting)

Step 1 — Push to GitHub

git init
git add .
git commit -m "Add portfolio website"
git branch -M main
git remote add origin [email protected]:sufyanwithcode/sufyanwithcode.github.io.git
git push -u origin main

Step 2 — Enable GitHub Pages

  1. Go to repo → SettingsPages
  2. Source: Deploy from a branch
  3. Branch: main/ (root)
  4. Click Save

Step 3 — Live URL

https://sufyanwithcode.github.io

Site goes live in 2–3 minutes after push.


Local Development

Just open index.html in any browser — no build step needed.

# Optional: use a local server
npx serve .
# or
python3 -m http.server 8080

Update & Redeploy

git add .
git commit -m "Update portfolio"
git push

GitHub Pages auto-deploys on every push to main.