Skip to content

Commit

Permalink
chore: action test
Browse files Browse the repository at this point in the history
  • Loading branch information
Greatwallcorner committed Nov 12, 2024
1 parent 44ac6ac commit 48ad8f2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
chatid: ${{ secrets.TG_GROUP_ID }}
message: |
👇新的版本👇
${{needs.set-tag.outputs.tag}}
📦仓库: ${{ github.repository }}
button: true
button_name: 👀下载👀
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: telegram message
on:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: send telegram message on push
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TG_GROUP_ID }}
token: ${{ secrets.TG_TOKEN }}
message: |
${{ github.actor }} created commit:
Commit message: ${{ github.event.commits[0].message }}
Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}

0 comments on commit 48ad8f2

Please sign in to comment.