diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index d6c73d0..11b6a88 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -31,10 +31,7 @@ jobs: if [ "$(printf '%s\n' "$GITEA_VERSION" "$GITHUB_VERSION" | sort -V | head -n1)" = "$GITHUB_VERSION" ]; then echo "❌❌GitHub release is older or the same. Stopping workflow.❌❌" - #exit 1 - PB_TOKEN="${{ secrets.PB_TOKEN }}" - 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" }' + exit 1 else echo "✅✅GitHub release is newer. Continuing workflow.✅✅" PB_TOKEN="${{ secrets.PB_TOKEN }}"