Skip to content

Commit

Permalink
feat: add Grafana deployment annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello authored Oct 15, 2021
2 parents bbe0e4f + 8bcff81 commit 9fb1f2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/container-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,11 @@ jobs:
script: |
cd ${{ matrix.env }}
make prune
- uses: frankie567/[email protected]
if: ${{ always() }}
with:
apiHost: https://grafana.openfoodfacts.org
apiToken: ${{ secrets.GRAFANA_API_TOKEN }}
text: <a href="https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}">Deployment ${{ steps.livecheck.outcome }} on ${{ matrix.env }}</a>
tags: type:deployment,origin:github,status:${{ steps.livecheck.outcome }},repo:${{ github.repository }},sha:${{ github.sha }},app:robotoff,env:${{ matrix.env }}

0 comments on commit 9fb1f2a

Please sign in to comment.