diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e621171..afef87b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,14 +59,8 @@ jobs: - name: Send discord notification run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚀 Deployment Successful" - fail: - name: "fake fail" - runs-on: ubuntu-latest - steps: - - name: fail - run: exit 1 failure: - needs: [test, deploy, fail] + needs: [test, deploy] name: "Send failure message" runs-on: ubuntu-latest if: ${{ failure() }}