Source for souravas.com. Vanilla HTML / CSS / JS built with Vite — no framework. GitHub Actions builds and deploys to GitHub Pages on every push to main.
npm install
npm run dev # dev server on http://localhost:5173
npm run build # production build → dist/
npm run preview # preview the production buildPushes to main are built and deployed automatically via .github/workflows/deploy.yml using actions/deploy-pages. Pull requests run the build only. To trigger a deploy manually, use Run workflow on the Actions tab.
- Local dev: http://localhost:5173
- Production: https://souravas.com
- Resume redirects:
/cv,/resume→/assets/resume.pdf
souravas.github.io/
├── index.html # single-page entry
├── 404.html # static 404 served by GitHub Pages
├── src/
│ ├── main.js # entry script
│ └── style.css
├── public/ # copied verbatim into the build
│ ├── CNAME # custom domain
│ ├── manifest.webmanifest
│ ├── robots.txt
│ ├── cv.html, resume.html # meta-refresh → /assets/resume.pdf
│ └── assets/ # images + resume.pdf
├── vite.config.js # build, CSP hashing, sitemap, dev /cv & /resume routes
└── .github/workflows/deploy.yml
- Live site: https://souravas.com
- Repository: https://github.com/souravas/souravas.github.io