Skip to content

Commit

Permalink
Update notification headers for publish workflow
Browse files Browse the repository at this point in the history
- Fixed the issue with Title
- Adds Ntfy tags
  • Loading branch information
cr2007 committed Jul 8, 2024
1 parent 0c11d3c commit ca0f114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
TAG_NAME: ${{ github.ref_name }}
run: |
curl \
-H $"Title: CambAI v${TAG_NAME} was published on PyPI" \
-H $"Title: CambAI ${TAG_NAME} published on PyPI successfully" \
-H "X-Tags: package, cambai-python, pypi, publish" \
-H "Content-Type: text/plain" \
-d "CambAI v${TAG_NAME} was published on PyPI.\nYou can find it at https://pypi.org/project/cambai\nStatus: ${{job.status}}" \
${{ vars.NTFY_GACTIONS_URL }}

0 comments on commit ca0f114

Please sign in to comment.