Skip to content

gracefully handle deleted webhook event for idempotency #1262

gracefully handle deleted webhook event for idempotency

gracefully handle deleted webhook event for idempotency #1262

name: Deploy Staging
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test_backend:
permissions:
contents: read
pull-requests: read
checks: write
uses: ./.github/workflows/backend_test_workflow.yaml
build_and_deploy_backend:
needs: test_backend
uses: ./.github/workflows/backend_deploy_workflow.yaml
permissions:
contents: read
id-token: "write" # needed for using open id token to authenticate with GCP services
with:
environment: "staging"
version: latest
secrets:
segment_write_key_opensource: ${{ secrets.SEGMENT_WRITE_KEY_OPENSOURCE }}