diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0267eee3..1714c44d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -221,7 +221,8 @@ jobs: - name: 🔔 Gotify Notification (Success) if: success() run: | - curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \ + curl -k -X POST "https://gotify.infra.mintel.me/message" \ + -H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \ -F "title=✅ Deployment Success: ${{ github.repository }}" \ -F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) was successful. @@ -233,7 +234,8 @@ jobs: - name: 🔔 Gotify Notification (Failure) if: failure() run: | - curl -k -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \ + curl -k -X POST "https://gotify.infra.mintel.me/message" \ + -H "X-Gotify-Key: ${{ secrets.GOTIFY_TOKEN }}" \ -F "title=❌ Deployment Failed: ${{ github.repository }}" \ -F "message=The deployment of ${{ github.repository }} (branch: ${{ github.ref }}) failed!