toko-bifrost / ms-teams-deploy-card

Microsoft Teams Deploy Card
MIT License
96 stars 76 forks source link

Exit status sometimes wrong #34

Open abivolmv opened 3 years ago

abivolmv commented 3 years ago

Hi, sometimes the action fails but in teams we get status successful. Sometimes it is correct - Failure.

image

...
jobs:
  build-and-deploy-dev:
    runs-on: ubuntu-18.04

    steps:

      - uses: actions/checkout@v2

      - name: Notify Teams channel
        uses: toko-bifrost/ms-teams-deploy-card@3.1.2
        if: always()
        with:
          webhook-uri: ${{ secrets.MSO_TEAMS_FERRARI_WEBHOOK_URI }}
          github-token: ${{ github.token }}
          environment: Dev
...

We also use the bobheadxi/deployments@v0.4.2 action, in case it is needed to be known.

We don't use matrix so it is different, I guess, from #33 .