Skip to content

Commit 6c1edca

Browse files
committed
Created a website for the resources
1 parent 19b2395 commit 6c1edca

17 files changed

Lines changed: 3640 additions & 1 deletion

.github/workflows/deploy.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "20"
28+
cache: "npm"
29+
cache-dependency-path: website/package-lock.json
30+
31+
- name: Install dependencies
32+
run: cd website && npm ci
33+
34+
- name: Build
35+
run: cd website && npm run build
36+
env:
37+
NEXT_PUBLIC_BASE_PATH: /everything-ai-ml
38+
39+
- name: Configure Pages
40+
uses: actions/configure-pages@v5
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: website/out
46+
47+
deploy:
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+
runs-on: ubuntu-latest
52+
needs: build
53+
steps:
54+
- name: Deploy to GitHub Pages
55+
id: deployment
56+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.idea
1+
.idea
2+
/package-lock.json

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
![Visitors](https://visitor-badge.laobi.icu/badge?page_id=viveknaskar.everything-ai-ml)
44
[![License](https://img.shields.io/badge/license-Educational-blue.svg)](./LICENSE)
55
[![Sponsor](https://img.shields.io/badge/Sponsor-viveknaskar-ea4aaa?logo=github-sponsors&logoColor=white)](https://github.com/sponsors/viveknaskar)
6+
[![Live Site](https://img.shields.io/badge/Live%20Site-everything--ai--ml-6366f1?logo=github&logoColor=white)](https://viveknaskar.github.io/everything-ai-ml/)
67

78
A curated collection of learning resources for Generative AI, Machine Learning, Agentic AI, and related topics.
89

10+
> **Browse the interactive cheatsheet:** [viveknaskar.github.io/everything-ai-ml](https://viveknaskar.github.io/everything-ai-ml/)
11+
912
> Stay updated with the latest in AI — [SavvyMonk Newsletter](https://savvymonk.beehiiv.com/)
1013
1114
## Table of Contents

website/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
.next/
3+
out/
4+
next-env.d.ts

website/next.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { NextConfig } from "next";
2+
3+
const basePath = process.env.NEXT_PUBLIC_BASE_PATH ?? "";
4+
5+
const nextConfig: NextConfig = {
6+
output: "export",
7+
basePath,
8+
assetPrefix: basePath,
9+
};
10+
11+
export default nextConfig;

0 commit comments

Comments
 (0)