Skip to content

Commit

Permalink
fix: update the deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Jan 3, 2025
1 parent cbabb43 commit eb012dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
uses: actions/checkout@v4
- name: Write secrets to wrangler.toml
run: |
sed -i 's/VOYAGE_API_KEY = ""/VOYAGE_API_KEY = "TEST"/g' wrangler.toml
sed -i 's/SUPABASE_URL = ""/SUPABASE_URL = "${{secrets.SUPABASE_URL}}"/g' wrangler.toml
sed -i 's/SUPABASE_ANON_KEY = ""/SUPABASE_ANON_KEY = "${{secrets.SUPABASE_ANON_KEY}}"/g' wrangler.toml
env:
VOYAGE_API_KEY: ${{ secrets.VOYAGEAI_API_KEY }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
Expand All @@ -27,7 +28,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Deploy to Cloudflare
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ubiquity/cloudflare-deploy-action@main
with:
repository: ${{ github.repository }}
Expand Down
2 changes: 0 additions & 2 deletions functions/issue-scraper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export const corsHeaders = {

export async function onRequest(ctx: Context): Promise<Response> {
const { request, env } = ctx;
console.log("Request received:", request.method, request.url);
console.log("Environment", env);
const url = new URL(request.url);

try {
Expand Down

0 comments on commit eb012dc

Please sign in to comment.