Skip to content

Commit

Permalink
add cf
Browse files Browse the repository at this point in the history
  • Loading branch information
akrothschild committed Jun 27, 2024
1 parent d9c614f commit f73e721
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
steps:
- uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
3 changes: 3 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name = "cs50-ai-chatbot-worker"
main = "app.py"
compatibility_date = "2024-04-01"

0 comments on commit f73e721

Please sign in to comment.