-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deploy from Github * Attempt to use different key * Revert change * Bump versions in yml * Use different secret key * Change app name * Reinstate old name * Rename service * Reinstate DB binding * Change trigger --------- Co-authored-by: Jon Breen <[email protected]>
- Loading branch information
1 parent
12a2d7c
commit e81d97c
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: buildAndDeployWorker | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
name: Deploy | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Publish | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name = "api" | ||
main = "src/index.ts" | ||
compatibility_date = "2023-09-04" | ||
|
||
[[r2_buckets]] | ||
binding = "Content" | ||
bucket_name = "content" | ||
|
||
[[d1_databases]] | ||
binding = "DB" | ||
database_name = "cultpodcasts" | ||
database_id = "d60db6d1-994d-448d-9be1-5067d1be72d8" | ||
|
||
[[analytics_engine_datasets]] | ||
binding = "Analytics" |