From 51ce73830256b3db6e21f3f8df73a4a604c68201 Mon Sep 17 00:00:00 2001 From: Jerod Santo Date: Wed, 16 Oct 2024 11:02:05 -0500 Subject: [PATCH] First attempt at notifying Zulip of deploys --- .github/workflows/dagger_on_namespace.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/dagger_on_namespace.yml b/.github/workflows/dagger_on_namespace.yml index 3466e9cb87..dc3c137949 100644 --- a/.github/workflows/dagger_on_namespace.yml +++ b/.github/workflows/dagger_on_namespace.yml @@ -68,3 +68,15 @@ jobs: SLACK_USERNAME: "GitHub Actions" SLACK_FOOTER: "Just got shipped to https://changelog.com" SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + + - name: "Announce deploy in #kaizen Zulip..." + if: ${{ github.repository == 'thechangelog/changelog.com' && github.ref_name == 'master' }} + uses: zulip/github-actions-zulip/send-message@v1 + with: + api-key: ${{ secrets.ZULIP_BOT_API_KEY }} + email: "logbot-bot@changelog.zulipchat.com" + organization-url: "https://changelog.zulipchat.com" + to: "kaizen" + type: "stream" + topic: "Code deploys" + content: "${{ github.actor }} just successfully deployed [${{ github.sha }}](https://github.com/thechangelog/changelog.com/commit/${{ github.sha }})"