diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index cf4c9ef3c..754b8f5ef 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -75,26 +75,26 @@ jobs: NODE_OPTIONS: "--max_old_space_size=24576" run: npm run build:${{matrix.provider}} - - name: add redirects to root site - env: - PROVIDER: ${{ matrix.provider }} - run: | - if [ $PROVIDER == "root" ]; then - echo "adding vanity url redirects to _redirects file.." - touch ./build/_redirects - array=( - confluent - github - ) - for i in "${array[@]}" - do - echo "adding redirects for $i" - echo "/${i} https://${i}.stackql.io/providers/${i}/ 302" >> ./build/_redirects - echo "/providers/${i} https://${i}.stackql.io/providers/${i}/ 302" >> ./build/_redirects - done - else - echo "skipping redirects for ${PROVIDER}" - fi + # - name: add redirects to root site + # env: + # PROVIDER: ${{ matrix.provider }} + # run: | + # if [ $PROVIDER == "root" ]; then + # echo "adding vanity url redirects to _redirects file.." + # touch ./build/_redirects + # array=( + # confluent + # github + # ) + # for i in "${array[@]}" + # do + # echo "adding redirects for $i" + # echo "/${i} https://${i}.stackql.io/providers/${i}/ 302" >> ./build/_redirects + # echo "/providers/${i} https://${i}.stackql.io/providers/${i}/ 302" >> ./build/_redirects + # done + # else + # echo "skipping redirects for ${PROVIDER}" + # fi - name: Publish uses: stackql/actions/cli@replace-deprecated-set-output diff --git a/README.md b/README.md index d78b2868b..202435727 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ This repository contains documentation for StackQL providers, which is published | --- | --- | -- | | GitHub Actions Build | [![GitHub Actions](https://github.com/stackql/stackql-registry-docs/actions/workflows/build-docs.yaml/badge.svg?branch=main)](https://github.com/stackql/stackql-registry-docs/actions/workflows/build-docs.yaml) | [stackql-registry-docs/actions](https://github.com/stackql/stackql-registry-docs/actions) | | Netlify Deploy Base | [![Netlify Status](https://api.netlify.com/api/v1/badges/75f838a9-79ea-41dc-96f9-a40dff50cfca/deploy-status)](https://app.netlify.com/sites/stackql-registry-docs/deploys) | [registry.stackql.io](https://registry.stackql.io) | -| Netlify Deploy GitHub | [![Netlify Status](https://api.netlify.com/api/v1/badges/625d7d38-37a9-4224-a9c8-6ee58141b109/deploy-status)](https://app.netlify.com/sites/stackql-github-docs/deploys) | [github-docs.stackql.io](https://github-docs.stackql.io)
[github.stackql.io](https://github.stackql.io) | -| Netlify Deploy Confluent | [![Netlify Status](https://api.netlify.com/api/v1/badges/63149c2f-6c3d-43f1-be38-80c55c223ac0/deploy-status)](https://app.netlify.com/sites/stackql-confluent-docs/deploys) | [confluent-docs.stackql.io](https://confluent-docs.stackql.io)
[confluent.stackql.io](https://confluent.stackql.io) | ## Adding Docs for a New Provider diff --git a/ci-scripts/get-providers-to-deploy.js b/ci-scripts/get-providers-to-deploy.js index d614dd7f8..68ff40af7 100644 --- a/ci-scripts/get-providers-to-deploy.js +++ b/ci-scripts/get-providers-to-deploy.js @@ -14,8 +14,8 @@ const allProviders = [ // 'azure_stack', // 'digitalocean', // 'firebase', - 'github', - 'confluent', + // 'github', + // 'confluent', // 'databricks_account', // 'databricks_workspace', // 'openai', diff --git a/package.json b/package.json index c6bce178f..9b221ee19 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,7 @@ "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", - "start:github": "export REGISTRY=github && docusaurus start", - "start:confluent": "export REGISTRY=confluent && docusaurus start", "build:root": "docusaurus build", - "build:github": "export REGISTRY=github && docusaurus build", - "build:confluent": "export REGISTRY=confluent && docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", diff --git a/sidebars.js b/sidebars.js index 1a7a8a5d5..7cb9a9ace 100644 --- a/sidebars.js +++ b/sidebars.js @@ -69,7 +69,9 @@ const getProviderSiteUrl = (name) =>{ 'k8s', 'homebrew', 'openai', - 'anthropic' + 'anthropic', + 'confluent', + 'github' ].includes(name)) { return `https://${name.replace('_', '-')}-provider.stackql.io/` } else { diff --git a/src/configs/providers.ts b/src/configs/providers.ts index 97b4894d6..cc0b9391c 100644 --- a/src/configs/providers.ts +++ b/src/configs/providers.ts @@ -59,7 +59,9 @@ export const getProviderSiteUrl = (name: string) =>{ 'k8s', 'homebrew', 'openai', - 'anthropic' + 'anthropic', + 'confluent', + 'github' ].includes(name)) { return `https://${name.replace('_', '-')}-provider.stackql.io/` } else {