Skip to content

Commit

Permalink
Set marker on honeycomb after a successful build (plausible#4590)
Browse files Browse the repository at this point in the history
* Set marker on honeycomb after successful builds

* set dataset

* use sha instead
  • Loading branch information
cnkk authored Sep 17, 2024
1 parent 6769ebd commit 912b61b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-private-images-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/>"}'
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 }}"

0 comments on commit 912b61b

Please sign in to comment.