Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Set marker on honeycomb after a successful build (#4590)

Cenk Kücük912b61bc9cc9
diff --git a/.github/workflows/build-private-images-ghcr.yml b/.github/workflows/build-private-images-ghcr.yml
index 66fdb7ec3b..c3058ff183 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": "<h1>🚀 New changes are about to be deployed to production!</h1><br/><h3>👷 Author: ${{ github.actor }}</h3><br/><p>📝 Commit message: ${{ github.event.head_commit.message }}</p><br/>"}'
\ No newline at end of file
+ data: '{"content": "<h1>🚀 New changes are about to be deployed to production!</h1><br/><h3>👷 Author: ${{ github.actor }}</h3><br/><p>📝 Commit message: ${{ github.event.head_commit.message }}</p><br/>"}'
+
+ - 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 }}"