Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

github: Allow triggering zulip-cloud-deploy by hand.

Alex Vandiverfb261ee27e8f
diff --git a/.github/workflows/zulip-cloud-deploy.yaml b/.github/workflows/zulip-cloud-deploy.yaml
index fcd8b4e0adc..143e7a0732e 100644
--- a/.github/workflows/zulip-cloud-deploy.yaml
+++ b/.github/workflows/zulip-cloud-deploy.yaml
@@ -4,6 +4,20 @@ on:
push:
branches:
- zulip-cloud-current
+ workflow_dispatch:
+ inputs:
+ before:
+ description: "Old commit-ish"
+ required: true
+ after:
+ description: "New commit-ish"
+ required: true
+ stream:
+ description: "Stream to send to"
+ default: "zulip cloud"
+ topic:
+ description: "Topic to send to"
+ default: "latest deploy"
permissions:
contents: read
@@ -48,7 +62,7 @@ jobs:
api-key: ${{ secrets.ZULIP_BOT_KEY }}
organization-url: "https://chat.zulip.org"
- to: "zulip cloud"
- topic: "latest deploy"
+ to: "${{ inputs.stream || 'zulip cloud' }}"
+ topic: "${{ inputs.topic || 'latest deploy' }}"
type: "stream"
content: ${{ steps.generate.outputs.content }}