Skip to content

Commit a5a6d18

Browse files
Update demo config. Also make it s.t., we deploy demo & staging on main (instead of on tags).
1 parent 873c9ef commit a5a6d18

File tree

3 files changed

+15
-75
lines changed

3 files changed

+15
-75
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Demo
22

33
on:
44
push:
5-
tags: ["v*.*.*"]
5+
branches: [main]
66
workflow_dispatch:
77

88
jobs:

.github/workflows/deploy-staging.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Deploy Staging
33
on:
44
push:
55
branches: [main]
6-
tags: ["v*.*.*"]
76
workflow_dispatch:
87

98
jobs:

demo-site-config.json

Lines changed: 14 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,43 @@
11
{
2-
"$schema": "./schemas/v2/index.json",
3-
"settings": {
4-
"reindexInterval": 86400000, // 24 hours
5-
"resyncInterval": 86400000 // 24 hours
6-
},
7-
"repos": [
8-
{
2+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
3+
"connections": {
4+
// https://docs.sourcebot.dev/docs/connections/github
5+
"github-repos": {
96
"type": "github",
107
"token": {
118
"env": "GITHUB_TOKEN"
129
},
13-
"exclude": {
14-
"size": {
15-
"max": 1000000000 // Limit to 1GB
16-
}
17-
},
1810
"repos": [
1911
"torvalds/linux",
20-
"pytorch/pytorch",
12+
"pytorch/pytorch",
2113
"commaai/openpilot",
2214
"ggerganov/whisper.cpp",
2315
"ggerganov/llama.cpp",
2416
"codemirror/dev",
2517
"tailwindlabs/tailwindcss",
2618
"sourcebot-dev/sourcebot",
27-
"freeCodeCamp/freeCodeCamp",
28-
"EbookFoundation/free-programming-books",
2919
"sindresorhus/awesome",
30-
"public-apis/public-apis",
31-
"codecrafters-io/build-your-own-x",
32-
"jwasham/coding-interview-university",
33-
"kamranahmedse/developer-roadmap",
34-
"donnemartin/system-design-primer",
35-
"996icu/996.ICU",
3620
"facebook/react",
3721
"vinta/awesome-python",
3822
"vuejs/vue",
39-
"practical-tutorials/project-based-learning",
40-
"awesome-selfhosted/awesome-selfhosted",
4123
"TheAlgorithms/Python",
42-
"trekhleb/javascript-algorithms",
4324
"tensorflow/tensorflow",
44-
"getify/You-Dont-Know-JS",
45-
"CyC2018/CS-Notes",
46-
"ohmyzsh/ohmyzsh",
47-
"ossu/computer-science",
4825
"twbs/bootstrap",
49-
"Significant-Gravitas/AutoGPT",
5026
"flutter/flutter",
5127
"microsoft/vscode",
5228
"github/gitignore",
53-
"jackfrued/Python-100-Days",
54-
"jlevy/the-art-of-command-line",
55-
"trimstray/the-book-of-secret-knowledge",
56-
"Snailclimb/JavaGuide",
5729
"airbnb/javascript",
5830
"AUTOMATIC1111/stable-diffusion-webui",
5931
"huggingface/transformers",
6032
"avelino/awesome-go",
6133
"ytdl-org/youtube-dl",
6234
"vercel/next.js",
63-
"labuladong/fucking-algorithm",
6435
"golang/go",
65-
"Chalarangelo/30-seconds-of-code",
66-
"yangshun/tech-interview-handbook",
6736
"facebook/react-native",
6837
"electron/electron",
6938
"Genymobile/scrcpy",
7039
"f/awesome-chatgpt-prompts",
7140
"microsoft/PowerToys",
72-
"justjavac/free-programming-books-zh_CN",
7341
"kubernetes/kubernetes",
7442
"d3/d3",
7543
"nodejs/node",
@@ -90,23 +58,13 @@
9058
"mui/material-ui",
9159
"ant-design/ant-design",
9260
"yt-dlp/yt-dlp",
93-
"ryanmcdermott/clean-code-javascript",
94-
"godotengine/godot",
95-
"ripienaar/free-for-dev",
96-
"iluwatar/java-design-patterns",
9761
"puppeteer/puppeteer",
9862
"papers-we-love/papers-we-love",
99-
"PanJiaChen/vue-element-admin",
10063
"iptv-org/iptv",
10164
"fatedier/frp",
10265
"excalidraw/excalidraw",
10366
"tauri-apps/tauri",
104-
"Hack-with-Github/Awesome-Hacking",
105-
"nvbn/thefuck",
106-
"mtdvio/every-programmer-should-know",
107-
"storybookjs/storybook",
10867
"neovim/neovim",
109-
"microsoft/Web-Dev-For-Beginners",
11068
"django/django",
11169
"florinpop17/app-ideas",
11270
"animate-css/animate.css",
@@ -121,13 +79,11 @@
12179
"macrozheng/mall",
12280
"jaywcjlove/awesome-mac",
12381
"tonsky/FiraCode",
124-
"ChatGPTNextWeb/ChatGPT-Next-Web",
12582
"rustdesk/rustdesk",
12683
"tensorflow/models",
12784
"doocs/advanced-java",
12885
"shadcn-ui/ui",
12986
"gohugoio/hugo",
130-
"MisterBooo/LeetCodeAnimation",
13187
"spring-projects/spring-boot",
13288
"supabase/supabase",
13389
"oven-sh/bun",
@@ -138,31 +94,23 @@
13894
"openai/whisper",
13995
"netdata/netdata",
14096
"vuejs/awesome-vue",
141-
"DopplerHQ/awesome-interview-questions",
14297
"3b1b/manim",
14398
"2dust/v2rayN",
14499
"nomic-ai/gpt4all",
145100
"elastic/elasticsearch",
146-
"anuraghazra/github-readme-stats",
147-
"microsoft/ML-For-Beginners",
148-
"MunGell/awesome-for-beginners",
149101
"fighting41love/funNLP",
150102
"vitejs/vite",
151-
"thedaviddias/Front-End-Checklist",
152103
"coder/code-server",
153104
"moby/moby",
154105
"CompVis/stable-diffusion",
155106
"base-org/node",
156107
"nestjs/nest",
157108
"pallets/flask",
158109
"hakimel/reveal.js",
159-
"Anduin2017/HowToCook",
160110
"microsoft/playwright",
161111
"swiftlang/swift",
162-
"Developer-Y/cs-video-courses",
163112
"redis/redis",
164113
"bregman-arie/devops-exercises",
165-
"josephmisiti/awesome-machine-learning",
166114
"binary-husky/gpt_academic",
167115
"junegunn/fzf",
168116
"syncthing/syncthing",
@@ -173,11 +121,9 @@
173121
"microsoft/generative-ai-for-beginners",
174122
"grafana/grafana",
175123
"abi/screenshot-to-code",
176-
"ByteByteGoHq/system-design-101",
177124
"chartjs/Chart.js",
178125
"webpack/webpack",
179126
"d2l-ai/d2l-zh",
180-
"sdmg15/Best-websites-a-programmer-should-visit",
181127
"strapi/strapi",
182128
"python/cpython",
183129
"leonardomso/33-js-concepts",
@@ -187,9 +133,7 @@
187133
"apache/superset",
188134
"tesseract-ocr/tesseract",
189135
"lydiahallie/javascript-questions",
190-
"xtekky/gpt4free",
191136
"FuelLabs/sway",
192-
"twitter/the-algorithm",
193137
"keras-team/keras",
194138
"resume/resume.github.com",
195139
"swisskyrepo/PayloadsAllTheThings",
@@ -214,7 +158,6 @@
214158
"rust-unofficial/awesome-rust",
215159
"streamich/react-use",
216160
"pocketbase/pocketbase",
217-
"serhii-londar/open-source-mac-os-apps",
218161
"lllyasviel/Fooocus",
219162
"k88hudson/git-flight-rules",
220163
"react-hook-form/react-hook-form",
@@ -278,20 +221,18 @@
278221
"envoyproxy/envoy"
279222
]
280223
},
281-
{
224+
// https://docs.sourcebot.dev/docs/connections/gitlab
225+
"gitlab-repos": {
282226
"type": "gitlab",
283227
"token": {
284228
"env": "GITLAB_TOKEN"
285229
},
286-
"groups": [
287-
"fdroid"
288-
],
289-
"exclude": {
290-
"projects": [
291-
"fdroid/wiki",
292-
"Matrixcoffee/internal-twif-preview"
293-
]
294-
}
230+
"projects": [
231+
"gnachman/iterm2"
232+
]
295233
}
296-
]
234+
},
235+
"settings": {
236+
"reindexIntervalMs": 86400000 // 24 hours
237+
}
297238
}

0 commit comments

Comments
 (0)