From b8df1e1f44b439ee464cc739ba7232f27d6f3c9d Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 17 Mar 2025 21:43:09 +0100 Subject: [PATCH] Update .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 7ccf41d..0f6a107 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -32,11 +32,8 @@ jobs: echo "❌❌GitHub release is older or the same. Stopping workflow.❌❌" #exit 1 PB_TOKEN="${{ secrets.PB_TOKEN }}" - curl -u ${PB_TOKEN}: -X POST https://api.pushbullet.com/v2/pushes \ - --header 'Content-Type: application/json' \ - --data-binary '{"type": "note", \ - "title": "${{ matrix.project_name }}", \ - "body": "${{ matrix.project_name }} new: $GITHUB_VERSION" }' + PB_TITLE="${{ matrix.project_name }}" + curl -u ${PB_TOKEN}: -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "${PB_TITLE}", "body": "${PB_TITLE} new: $GITHUB_VERSION" }' else echo "✅✅GitHub release is newer. Continuing workflow.✅✅" PB_TOKEN="${{ secrets.PB_TOKEN }}"