From 136925b2baa898394b5b9fda446a661c40d8c5b1 Mon Sep 17 00:00:00 2001 From: Dhravya Date: Sun, 31 Mar 2024 17:47:57 -0700 Subject: [PATCH] update .github --- .github/workflows/build.yml | 26 +++++++++++++------------- apps/web/example.wrangler.toml | 18 ------------------ 2 files changed, 13 insertions(+), 31 deletions(-) delete mode 100644 apps/web/example.wrangler.toml 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/wrangler-action@1.2.0 - 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/wrangler-action@1.2.0 + # 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="