name: Deploy pusher

on:
  workflow_dispatch:
    inputs:
      environment:
        description: "Target environment"
        required: true
        type: choice
        options: [dev, prod]

concurrency:
  group: deploy-pusher-${{ inputs.environment }}
  cancel-in-progress: false

jobs:
  deploy:
    uses: ./.github/workflows/_deploy.yml
    with:
      module: pusher
      environment: ${{ inputs.environment }}
    secrets: inherit
