Skip to content

Commit

Permalink
WIP: add r2 binding
Browse files Browse the repository at this point in the history
  • Loading branch information
mikib0 committed Oct 5, 2024
1 parent 5b93176 commit dbe74a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup-wrangler-toml/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ runs:
echo 'binding = "DB"' >> wrangler.toml
echo 'database_name = "${{ inputs.environment }}"' >> wrangler.toml
echo 'database_id = "${{ inputs.DB_ID }}"' >> wrangler.toml
echo '[[env.${{ inputs.environment }}.r2_buckets]]' >> wrangler.toml
echo 'binding = "GEOJSON_BUCKET"' >> wrangler.toml
echo 'bucket_name = "packrat-geojson-bucket-${{ inputs.environment }}"' >> wrangler.toml
echo '[env.${{ inputs.environment }}.ai]' >> wrangler.toml
echo 'binding = "AI"' >> wrangler.toml
echo '[env.${{ inputs.environment }}.vars]' >> wrangler.toml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/backend-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- development
- fix/api-workflow
paths:
- '.github/workflows/backend-preview.yml'
- 'packages/validations/**'
Expand Down

0 comments on commit dbe74a6

Please sign in to comment.