From 71c29a976ca0dbc768dbb6d69be8970fcdf06eaa Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sat, 8 Feb 2025 13:03:44 +0000 Subject: [PATCH] refactor: remove ntfy workflow --- .github/workflows/ntfy.yaml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/ntfy.yaml diff --git a/.github/workflows/ntfy.yaml b/.github/workflows/ntfy.yaml deleted file mode 100644 index cc4a93b..0000000 --- a/.github/workflows/ntfy.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Deployment Notifications -on: [deployment_status] - -jobs: - notify: - if: always() - runs-on: ubuntu-latest - steps: - - name: Notify on Success - if: github.event.deployment_status.state == 'success' - run: | - curl \ - -H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \ - -H "Title: blockmatic deployment succeeded" \ - -H "Priority: low" \ - -H "Tags: white_check_mark" \ - -d $'Commit: ${{ github.event.head_commit.message }}\nHash: ${{ github.sha }}' \ - ${{ secrets.NTFY_URL }} - - - name: Notify on Failure - if: github.event.deployment_status.state == 'failure' - run: | - curl \ - -H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \ - -H "Title: blockmatic deployment failed" \ - -H "Priority: max" \ - -H "Tags: x" \ - -d $'Commit: ${{ github.event.head_commit.message }}\nHash: ${{ github.sha }}' \ - ${{ secrets.NTFY_URL }}