diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 228d453..2b3edfd 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -34,9 +34,11 @@ jobs: if: github.event_name == 'push' env: NTFY_URL: ${{ secrets.NTFY_URL }} + NTFY_TOKEN: ${{ secrets.NTFY_TOKEN }} run: | - curl -v \ + curl -s -o /dev/null \ -H "Title: kiosk-guestbook image pushed to Docker Hub" \ -H "Tags: white_check_mark" \ + -H "Authorization: Bearer $NTFY_TOKEN" \ -d "The kiosk-guestbook container has been pushed to Docker Hub and is ready to pull. Commit: ${{ github.sha }} — ${{ github.event.head_commit.message }}" \ "$NTFY_URL"