Update demo config. Also make it s.t., we deploy demo & staging on main (instead of on tags).

This commit is contained in:
bkellam 2025-05-07 16:48:41 -07:00
parent 873c9ef2a4
commit a5a6d18bad
3 changed files with 15 additions and 75 deletions

View file

@ -2,7 +2,7 @@ name: Deploy Demo
on: on:
push: push:
tags: ["v*.*.*"] branches: [main]
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View file

@ -3,7 +3,6 @@ name: Deploy Staging
on: on:
push: push:
branches: [main] branches: [main]
tags: ["v*.*.*"]
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View file

@ -1,75 +1,43 @@
{ {
"$schema": "./schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
"settings": { "connections": {
"reindexInterval": 86400000, // 24 hours // https://docs.sourcebot.dev/docs/connections/github
"resyncInterval": 86400000 // 24 hours "github-repos": {
},
"repos": [
{
"type": "github", "type": "github",
"token": { "token": {
"env": "GITHUB_TOKEN" "env": "GITHUB_TOKEN"
}, },
"exclude": {
"size": {
"max": 1000000000 // Limit to 1GB
}
},
"repos": [ "repos": [
"torvalds/linux", "torvalds/linux",
"pytorch/pytorch", "pytorch/pytorch",
"commaai/openpilot", "commaai/openpilot",
"ggerganov/whisper.cpp", "ggerganov/whisper.cpp",
"ggerganov/llama.cpp", "ggerganov/llama.cpp",
"codemirror/dev", "codemirror/dev",
"tailwindlabs/tailwindcss", "tailwindlabs/tailwindcss",
"sourcebot-dev/sourcebot", "sourcebot-dev/sourcebot",
"freeCodeCamp/freeCodeCamp",
"EbookFoundation/free-programming-books",
"sindresorhus/awesome", "sindresorhus/awesome",
"public-apis/public-apis",
"codecrafters-io/build-your-own-x",
"jwasham/coding-interview-university",
"kamranahmedse/developer-roadmap",
"donnemartin/system-design-primer",
"996icu/996.ICU",
"facebook/react", "facebook/react",
"vinta/awesome-python", "vinta/awesome-python",
"vuejs/vue", "vuejs/vue",
"practical-tutorials/project-based-learning",
"awesome-selfhosted/awesome-selfhosted",
"TheAlgorithms/Python", "TheAlgorithms/Python",
"trekhleb/javascript-algorithms",
"tensorflow/tensorflow", "tensorflow/tensorflow",
"getify/You-Dont-Know-JS",
"CyC2018/CS-Notes",
"ohmyzsh/ohmyzsh",
"ossu/computer-science",
"twbs/bootstrap", "twbs/bootstrap",
"Significant-Gravitas/AutoGPT",
"flutter/flutter", "flutter/flutter",
"microsoft/vscode", "microsoft/vscode",
"github/gitignore", "github/gitignore",
"jackfrued/Python-100-Days",
"jlevy/the-art-of-command-line",
"trimstray/the-book-of-secret-knowledge",
"Snailclimb/JavaGuide",
"airbnb/javascript", "airbnb/javascript",
"AUTOMATIC1111/stable-diffusion-webui", "AUTOMATIC1111/stable-diffusion-webui",
"huggingface/transformers", "huggingface/transformers",
"avelino/awesome-go", "avelino/awesome-go",
"ytdl-org/youtube-dl", "ytdl-org/youtube-dl",
"vercel/next.js", "vercel/next.js",
"labuladong/fucking-algorithm",
"golang/go", "golang/go",
"Chalarangelo/30-seconds-of-code",
"yangshun/tech-interview-handbook",
"facebook/react-native", "facebook/react-native",
"electron/electron", "electron/electron",
"Genymobile/scrcpy", "Genymobile/scrcpy",
"f/awesome-chatgpt-prompts", "f/awesome-chatgpt-prompts",
"microsoft/PowerToys", "microsoft/PowerToys",
"justjavac/free-programming-books-zh_CN",
"kubernetes/kubernetes", "kubernetes/kubernetes",
"d3/d3", "d3/d3",
"nodejs/node", "nodejs/node",
@ -90,23 +58,13 @@
"mui/material-ui", "mui/material-ui",
"ant-design/ant-design", "ant-design/ant-design",
"yt-dlp/yt-dlp", "yt-dlp/yt-dlp",
"ryanmcdermott/clean-code-javascript",
"godotengine/godot",
"ripienaar/free-for-dev",
"iluwatar/java-design-patterns",
"puppeteer/puppeteer", "puppeteer/puppeteer",
"papers-we-love/papers-we-love", "papers-we-love/papers-we-love",
"PanJiaChen/vue-element-admin",
"iptv-org/iptv", "iptv-org/iptv",
"fatedier/frp", "fatedier/frp",
"excalidraw/excalidraw", "excalidraw/excalidraw",
"tauri-apps/tauri", "tauri-apps/tauri",
"Hack-with-Github/Awesome-Hacking",
"nvbn/thefuck",
"mtdvio/every-programmer-should-know",
"storybookjs/storybook",
"neovim/neovim", "neovim/neovim",
"microsoft/Web-Dev-For-Beginners",
"django/django", "django/django",
"florinpop17/app-ideas", "florinpop17/app-ideas",
"animate-css/animate.css", "animate-css/animate.css",
@ -121,13 +79,11 @@
"macrozheng/mall", "macrozheng/mall",
"jaywcjlove/awesome-mac", "jaywcjlove/awesome-mac",
"tonsky/FiraCode", "tonsky/FiraCode",
"ChatGPTNextWeb/ChatGPT-Next-Web",
"rustdesk/rustdesk", "rustdesk/rustdesk",
"tensorflow/models", "tensorflow/models",
"doocs/advanced-java", "doocs/advanced-java",
"shadcn-ui/ui", "shadcn-ui/ui",
"gohugoio/hugo", "gohugoio/hugo",
"MisterBooo/LeetCodeAnimation",
"spring-projects/spring-boot", "spring-projects/spring-boot",
"supabase/supabase", "supabase/supabase",
"oven-sh/bun", "oven-sh/bun",
@ -138,17 +94,12 @@
"openai/whisper", "openai/whisper",
"netdata/netdata", "netdata/netdata",
"vuejs/awesome-vue", "vuejs/awesome-vue",
"DopplerHQ/awesome-interview-questions",
"3b1b/manim", "3b1b/manim",
"2dust/v2rayN", "2dust/v2rayN",
"nomic-ai/gpt4all", "nomic-ai/gpt4all",
"elastic/elasticsearch", "elastic/elasticsearch",
"anuraghazra/github-readme-stats",
"microsoft/ML-For-Beginners",
"MunGell/awesome-for-beginners",
"fighting41love/funNLP", "fighting41love/funNLP",
"vitejs/vite", "vitejs/vite",
"thedaviddias/Front-End-Checklist",
"coder/code-server", "coder/code-server",
"moby/moby", "moby/moby",
"CompVis/stable-diffusion", "CompVis/stable-diffusion",
@ -156,13 +107,10 @@
"nestjs/nest", "nestjs/nest",
"pallets/flask", "pallets/flask",
"hakimel/reveal.js", "hakimel/reveal.js",
"Anduin2017/HowToCook",
"microsoft/playwright", "microsoft/playwright",
"swiftlang/swift", "swiftlang/swift",
"Developer-Y/cs-video-courses",
"redis/redis", "redis/redis",
"bregman-arie/devops-exercises", "bregman-arie/devops-exercises",
"josephmisiti/awesome-machine-learning",
"binary-husky/gpt_academic", "binary-husky/gpt_academic",
"junegunn/fzf", "junegunn/fzf",
"syncthing/syncthing", "syncthing/syncthing",
@ -173,11 +121,9 @@
"microsoft/generative-ai-for-beginners", "microsoft/generative-ai-for-beginners",
"grafana/grafana", "grafana/grafana",
"abi/screenshot-to-code", "abi/screenshot-to-code",
"ByteByteGoHq/system-design-101",
"chartjs/Chart.js", "chartjs/Chart.js",
"webpack/webpack", "webpack/webpack",
"d2l-ai/d2l-zh", "d2l-ai/d2l-zh",
"sdmg15/Best-websites-a-programmer-should-visit",
"strapi/strapi", "strapi/strapi",
"python/cpython", "python/cpython",
"leonardomso/33-js-concepts", "leonardomso/33-js-concepts",
@ -187,9 +133,7 @@
"apache/superset", "apache/superset",
"tesseract-ocr/tesseract", "tesseract-ocr/tesseract",
"lydiahallie/javascript-questions", "lydiahallie/javascript-questions",
"xtekky/gpt4free",
"FuelLabs/sway", "FuelLabs/sway",
"twitter/the-algorithm",
"keras-team/keras", "keras-team/keras",
"resume/resume.github.com", "resume/resume.github.com",
"swisskyrepo/PayloadsAllTheThings", "swisskyrepo/PayloadsAllTheThings",
@ -214,7 +158,6 @@
"rust-unofficial/awesome-rust", "rust-unofficial/awesome-rust",
"streamich/react-use", "streamich/react-use",
"pocketbase/pocketbase", "pocketbase/pocketbase",
"serhii-londar/open-source-mac-os-apps",
"lllyasviel/Fooocus", "lllyasviel/Fooocus",
"k88hudson/git-flight-rules", "k88hudson/git-flight-rules",
"react-hook-form/react-hook-form", "react-hook-form/react-hook-form",
@ -278,20 +221,18 @@
"envoyproxy/envoy" "envoyproxy/envoy"
] ]
}, },
{ // https://docs.sourcebot.dev/docs/connections/gitlab
"gitlab-repos": {
"type": "gitlab", "type": "gitlab",
"token": { "token": {
"env": "GITLAB_TOKEN" "env": "GITLAB_TOKEN"
}, },
"groups": [ "projects": [
"fdroid" "gnachman/iterm2"
], ]
"exclude": {
"projects": [
"fdroid/wiki",
"Matrixcoffee/internal-twif-preview"
]
}
} }
] },
"settings": {
"reindexIntervalMs": 86400000 // 24 hours
}
} }