Skip to content

Commit

Permalink
Deploy from Github
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed Feb 17, 2024
1 parent 12a2d7c commit 08d4ce5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/buildAndDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: buildAndDeployWorker
on: push
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
15 changes: 15 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name = "d1-tutorial"
main = "src/index.ts"
compatibility_date = "2023-09-04"

[[r2_buckets]]
binding = "Content"
bucket_name = "content"

# [[d1_databases]]
# binding = "DB" # i.e. available in your Worker on env.DB
# database_name = "cultpodcasts"
# database_id = "d60db6d1-994d-448d-9be1-5067d1be72d8"

[[analytics_engine_datasets]]
binding = "Analytics"

0 comments on commit 08d4ce5

Please sign in to comment.