mirror of
https://github.com/mfakbar127/Claude-Samurai
synced 2026-06-21 13:57:42 +00:00
add notification
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Use GitHub CLI to trigger the "publish" workflow with inputs:
|
||||
|
||||
- create_release: false
|
||||
- version: Read from `src-tauri/tauri.conf.json`'s `version` field
|
||||
- releaseBody: leave it blank
|
||||
@@ -0,0 +1,3 @@
|
||||
Use Github CLI to change the latest version draft release to a published release on the repo djyde/ccmate-release.
|
||||
|
||||
The release tag is `app-v__VERSION__`. The `__VERSION__` is the version number in `src-tauri/tauri.conf.json`.
|
||||
@@ -13,7 +13,8 @@
|
||||
"Bash(pnpm dlx shadcn@latest add:*)",
|
||||
"Bash(pnpm exec biome check:*)",
|
||||
"Bash(pnpm install:*)",
|
||||
"Bash(pnpm search:*)"
|
||||
"Bash(pnpm search:*)",
|
||||
"Bash(gh release list:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
@@ -126,3 +126,16 @@ jobs:
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
args: ${{ matrix.args }}
|
||||
|
||||
notify-build-success:
|
||||
needs: publish-tauri
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ success() }}
|
||||
steps:
|
||||
- name: Send build success notification
|
||||
run: |
|
||||
curl \
|
||||
-H "Title: CC Mate build finished" \
|
||||
-H "Tags: ccmate,github_action" \
|
||||
-d "✅ CC Mate build has finished. Ready to release." \
|
||||
https://ntfy.sh/randyloop
|
||||
|
||||
Reference in New Issue
Block a user