real fix
This commit is contained in:
@@ -28,8 +28,10 @@ jobs:
|
|||||||
working-directory: /home/gitea-runner
|
working-directory: /home/gitea-runner
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
echo "${{ inputs.message }}" | curl -f -H "Title: ${{ inputs.title }}" \
|
cat <<EOF | curl -f -H "Title: ${{ inputs.title }}" \
|
||||||
-H "Priority: ${{ inputs.priority }}" \
|
-H "Priority: ${{ inputs.priority }}" \
|
||||||
-H "Tags: ${{ inputs.tags }}" \
|
-H "Tags: ${{ inputs.tags }}" \
|
||||||
--data-binary "@-" \
|
--data-binary "@-" \
|
||||||
"https://ntfy.sh/${{ secrets.NTFY_CHANNEL }}"
|
"https://ntfy.sh/${{ secrets.NTFY_CHANNEL }}"
|
||||||
|
${{ inputs.message }}
|
||||||
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user