Update .gitea/workflows/build.yml
This commit is contained in:
parent
2c97638140
commit
b8df1e1f44
@ -32,11 +32,8 @@ jobs:
|
|||||||
echo "❌❌GitHub release is older or the same. Stopping workflow.❌❌"
|
echo "❌❌GitHub release is older or the same. Stopping workflow.❌❌"
|
||||||
#exit 1
|
#exit 1
|
||||||
PB_TOKEN="${{ secrets.PB_TOKEN }}"
|
PB_TOKEN="${{ secrets.PB_TOKEN }}"
|
||||||
curl -u ${PB_TOKEN}: -X POST https://api.pushbullet.com/v2/pushes \
|
PB_TITLE="${{ matrix.project_name }}"
|
||||||
--header 'Content-Type: application/json' \
|
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" }'
|
||||||
--data-binary '{"type": "note", \
|
|
||||||
"title": "${{ matrix.project_name }}", \
|
|
||||||
"body": "${{ matrix.project_name }} new: $GITHUB_VERSION" }'
|
|
||||||
else
|
else
|
||||||
echo "✅✅GitHub release is newer. Continuing workflow.✅✅"
|
echo "✅✅GitHub release is newer. Continuing workflow.✅✅"
|
||||||
PB_TOKEN="${{ secrets.PB_TOKEN }}"
|
PB_TOKEN="${{ secrets.PB_TOKEN }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user