aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml26
-rw-r--r--apps/web/example.wrangler.toml18
2 files changed, 13 insertions, 31 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7bb76c17..c99080ec 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -58,17 +58,17 @@ jobs:
directory: apps/web/.vercel/output/static
branch: main
- deploy-cf-worker:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repo
- uses: actions/checkout@v3
+ # deploy-cf-worker:
+ # runs-on: ubuntu-latest
+ # steps:
+ # - name: Checkout repo
+ # uses: actions/checkout@v3
- - name: Deploy to Cloudflare Workers
- uses: cloudflare/[email protected]
- with:
- apiToken: ${{ secrets.CF_API_TOKEN }}
- workingDirectory: apps/cf-ai-backend
- env:
- OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- SECURITY_KEY: ${{ secrets.BACKEND_SECURITY_KEY }}
+ # - name: Deploy to Cloudflare Workers
+ # uses: cloudflare/[email protected]
+ # with:
+ # apiToken: ${{ secrets.CF_API_TOKEN }}
+ # workingDirectory: apps/cf-ai-backend
+ # env:
+ # OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
+ # SECURITY_KEY: ${{ secrets.BACKEND_SECURITY_KEY }}
diff --git a/apps/web/example.wrangler.toml b/apps/web/example.wrangler.toml
deleted file mode 100644
index 688d8137..00000000
--- a/apps/web/example.wrangler.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-name = "web"
-compatibility_date = "2024-03-29"
-compatibility_flags = ["nodejs_compat"]
-
-[[vectorize]]
-binding = "VECTORIZE_INDEX"
-index_name = "anycontext-idx"
-
-[[d1_databases]]
-binding = "DATABASE"
-database_name = "dev-d1-anycontext"
-
-[vars]
-GOOGLE_CLIENT_ID="-"
-GOOGLE_CLIENT_SECRET="-"
-NEXTAUTH_SECRET="sec"
-NEXTAUTH_URL="http://localhost:3000"
-BACKEND_SECURITY_KEY="XP1FNh+rTYghq2TmrFbMLCCBy+eBAvi8iuoMuV9zDUc="