From d12727dba72bb4b1ba0608a7905d60020becb914 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Sat, 2 Nov 2024 09:45:13 -0500 Subject: [PATCH] rm non working hacky patches for AI cors --- .github/workflows/deploy-docs.yml | 40 --------------------------- .github/workflows/deploy-netlify.yaml | 5 ++-- _redirects | 4 --- src/pages/_headers | 2 -- 4 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 .github/workflows/deploy-docs.yml delete mode 100644 _redirects delete mode 100644 src/pages/_headers diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index fec6733bd..000000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This deploy-docs workflow was created based on instructions from: -# https://docusaurus.io/docs/deployment -name: Deploy to GitHub Pages - -permissions: - contents: write - actions: write - pages: write - -on: - workflow_dispatch: - push: - branches: - - main - -jobs: - deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 18 - cache: npm - cache-dependency-path: package-lock.json - - - name: 🤔 Sync latest Upstream - run: make sync-docs - - - name: Build website 🔨 - run: make build-docs - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.6.4 - with: - branch: gh-pages - folder: build - single-commit: true diff --git a/.github/workflows/deploy-netlify.yaml b/.github/workflows/deploy-netlify.yaml index 0abd81009..26c5d5817 100644 --- a/.github/workflows/deploy-netlify.yaml +++ b/.github/workflows/deploy-netlify.yaml @@ -47,9 +47,8 @@ jobs: - name: Install Dependencies run: npm ci - # TODO: - # - name: 🤔 Sync latest Upstream - # run: make sync-docs + - name: 🤔 Sync latest Upstream + run: make sync-docs - name: Build website 🔨 run: make build-docs diff --git a/_redirects b/_redirects deleted file mode 100644 index 14617f777..000000000 --- a/_redirects +++ /dev/null @@ -1,4 +0,0 @@ -/kapa-widget.bundle.js https://widget.kapa.ai/kapa-widget.bundle.js 200 -https://widget.kapa.ai/kapa-widget.bundle.js https://widget.kapa.ai/kapa-widget.bundle.js 200 -https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/proxy/query/v2/chat/stream/ https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/proxy/query/v2/chat/stream/ 200 -https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/ https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app/ 200 diff --git a/src/pages/_headers b/src/pages/_headers deleted file mode 100644 index c776a4792..000000000 --- a/src/pages/_headers +++ /dev/null @@ -1,2 +0,0 @@ -/* - Access-Control-Allow-Origin: *