From 0fe2e8aa6a17c07d0fafd401f3589297ec8711f4 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Thu, 16 May 2024 20:50:31 +0200 Subject: [PATCH] add zulip message --- .github/workflows/BuildIG_publish.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/BuildIG_publish.yaml b/.github/workflows/BuildIG_publish.yaml index 96dc00349c..27e9d4aa2a 100644 --- a/.github/workflows/BuildIG_publish.yaml +++ b/.github/workflows/BuildIG_publish.yaml @@ -159,4 +159,20 @@ jobs: gsutil -m rsync -r ./ig/${{ steps.repo_name.outputs.repo }}/${{ env.version }} gs://fhir-ch-www/ig/${{ steps.repo_name.outputs.repo }}/${{ env.version }} gsutil cp ./package-feed.xml gs://fhir-ch-www/ gsutil cp ./package-registry.json gs://fhir-ch-www/ - gsutil cp ./publication-feed.xml gs://fhir-ch-www/ \ No newline at end of file + gsutil cp ./publication-feed.xml gs://fhir-ch-www/ + + - name: Send a stream message to Zulip + uses: zulip/github-actions-zulip/send-message@v1 + with: + api-key: ${{ secrets.ZULIPAPIKEY }} + email: "hl7ch-bot@chat.fhir.org" + organization-url: "https://chat.fhir.org" + to: "switzerland" + type: "stream" + topic: "fhir.ch: new FHIR Implementation Guide published" + content: | + :rocket: ${{ steps.repo_name.outputs.repo }}/${{ env.version }} published :rocket: + + Details: [published](https://fhir.ch/ig/${{ steps.repo_name.outputs.repo }}/${{ env.version }}/index.html) | [qa]((https://fhir.ch/ig/${{ steps.repo_name.outputs.repo }}/${{ env.version }}/qa.html) + + :memo: It might take a few minutes until the fhir.ch is serving the new version, should be visible on packages servers in [max 1](https://packages2.fhir.org/packages/catalog) to [max 8](https://registry.fhir.org/) hours.