Skip to content

Commit

Permalink
update .github
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhravya committed Apr 1, 2024
1 parent 5409435 commit 136925b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 31 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
18 changes: 0 additions & 18 deletions apps/web/example.wrangler.toml

This file was deleted.

0 comments on commit 136925b

Please sign in to comment.