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