Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello committed Oct 15, 2021
1 parent 801aad7 commit 8bcff81
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/container-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,10 @@ jobs:
cd ${{ matrix.env }}
make prune
- name: Get deployment URL
if: ${{ always() }}
id: get-deployment
uses: dorshinar/get-deployment-url@v1.0.7
timeout-minutes: 5
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: frankie567/grafana-annotation-action@v1.0.2
if: ${{ always() }}
with:
apiHost: https://grafana.openfoodfacts.org
apiToken: ${{ secrets.GRAFANA_API_TOKEN }}
text: <a href="${{ steps.get-deployment.outputs.deployment }}">Deploy ${{ github.sha }} on ${{ matrix.env }}</a>
tags: deployment,github,${{ failure() && 'failed' || 'success' }},${{ matrix.env }},${{ github.repository }}
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 8bcff81

Please sign in to comment.