Skip to content

Staging deployment trigger #129

@mottych

Description

@mottych

Problem to solve

Staging deployment trigger

Proposed solution

Add repository_dispatch handler for staging deployments triggered by API repo

The API repo (PurposePath_Api) triggers AI deployments via repository_dispatch with event type deploy-staging, but this repo has no workflow listening for it.

Create a new workflow .github/workflows/deploy-from-api.yml:

name: Deploy from API Trigger

on:
  repository_dispatch:
    types: [deploy-staging]

jobs:
  deploy:
    uses: ./.github/workflows/deploy-staging.yml
    with:
      skip_tests: 'false'
    secrets: inherit

Impacted services/modules

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions