From 912b61bc9cc98fc19c6e9f2e05cb6dc6cfc223ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Tue, 17 Sep 2024 16:42:04 +0100 Subject: [PATCH] Set marker on honeycomb after a successful build (#4590) * Set marker on honeycomb after successful builds * set dataset * use sha instead --- .github/workflows/build-private-images-ghcr.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-private-images-ghcr.yml b/.github/workflows/build-private-images-ghcr.yml index 66fdb7ec3b6c..c3058ff18376 100644 --- a/.github/workflows/build-private-images-ghcr.yml +++ b/.github/workflows/build-private-images-ghcr.yml @@ -77,4 +77,12 @@ jobs: method: 'POST' customHeaders: '{"Content-Type": "application/json"}' escapeData: 'true' - data: '{"content": "

🚀 New changes are about to be deployed to production!


👷 Author: ${{ github.actor }}


📝 Commit message: ${{ github.event.head_commit.message }}


"}' \ No newline at end of file + data: '{"content": "

🚀 New changes are about to be deployed to production!


👷 Author: ${{ github.actor }}


📝 Commit message: ${{ github.event.head_commit.message }}


"}' + + - name: Set Honeycomb marker on success + if: ${{ success() && github.ref == 'refs/heads/master' }} + uses: cnkk/honeymarker-action@1bd92aec746e38efe43a0faee94ced1ebb930712 + with: + apikey: ${{ secrets.HONEYCOMB_MARKER_APIKEY }} + dataset: 'plausible-prod' + message: "${{ github.sha }}"