diff --git a/flux-notification-provider.yaml b/flux-notification-provider.yaml index 3dfb22a..99cc315 100644 --- a/flux-notification-provider.yaml +++ b/flux-notification-provider.yaml @@ -15,6 +15,4 @@ metadata: namespace: flux-system spec: type: generic - address: https://notify.caffeinetux.com - secretRef: - name: notify-token + address: https://notify.caffeinetux.com/message?token=APMvTuncQJmm6vd diff --git a/webhook-build-trigger.yaml b/webhook-build-trigger.yaml index baad6b2..5682ad4 100644 --- a/webhook-build-trigger.yaml +++ b/webhook-build-trigger.yaml @@ -34,14 +34,10 @@ data: echo "Creating build job: $JOB_NAME" # Send start notification - curl -s -X POST "https://notify.caffeinetux.com?token=APMvTuncQJmm6vd" \ - -H "Content-Type: application/json" \ - -d "{ - \"title\": \"🔨 Neon Vortex Build Started\", - \"message\": \"Commit: ${GIT_SHORT} by ${GIT_AUTHOR}\\n${GIT_MSG}\", - \"priority\": 3, - \"tags\": [\"building\"] - }" || echo "Notification failed" + curl -s -X POST "https://notify.caffeinetux.com/message?token=APMvTuncQJmm6vd" \ + -F "title=🔨 Neon Vortex Build Started" \ + -F "message=Commit: ${GIT_SHORT} by ${GIT_AUTHOR} - ${GIT_MSG}" \ + -F "priority=5" || echo "Notification failed" # Create the build job kubectl apply -f - <