Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,23 @@ jobs:
- name: Publish to PyPI
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
uses: pypa/gh-action-pypi-publish@v1.13.0

# Prod cloud-mcp is bumped via Dependabot on airbytehq/airbyte-ops-mcp, not here.
# A PyPI publish only refreshes the cloud-mcp preview against the new version.
deploy_cloud_mcp_preview:
name: Deploy Cloud MCP (Preview)
needs: publish_to_pypi
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Wait for PyPI availability
run: sleep 120

- name: Trigger cloud-mcp preview deploy
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ secrets.GITHUB_CI_WORKFLOW_TRIGGER_PAT }}
repository: airbytehq/airbyte-ops-mcp
event-type: deploy-cloud-mcp
client-payload: '{"mcp-server": "cloud-mcp", "preview": "true"}'
Comment thread
aaronsteers marked this conversation as resolved.
Loading