Commit da95462d
da95462d5d84Merged
zhilyaev <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
new notify
Details
- Commit
- da95462d5d84
- Parent
- b3841ac74207
.github/workflows/notify.ymlmodifiedView file
@@ -8,10 +8,26 @@
88
notify-telegram:99
runs-on: ubuntu-latest1010
steps:11-
- name: telegram12-
uses: yanzay/[email protected]13-
if: always()11+
# - name: telegram112+
# uses: yanzay/[email protected]13+
# if: always()14+
# with:15+
# chat: "@helmwave"16+
# token: ${{ secrets.BOT_TOKEN }}17+
# status: ${{ job.status }}18+
19+
- name: Set GITHUB_TAG20+
id: vars21+
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}22+
23+
- name: Telegram24+
uses: appleboy/telegram-action@master25+
env:26+
GITHUB_TAG: ${{ steps.vars.outputs.tag }}1427
with:15-
chat: "@helmwave"28+
to: ${{ secrets.CHAT }}1629
token: ${{ secrets.BOT_TOKEN }}17-
status: ${{ job.status }}30+
format: markdown31+
message: |32+
Helmwave *v${{ env.GITHUB_TAG }}* is ready!33+
See more: https://github.com/zhilyaev/helmwave/releases/tag/${{ env.GITHUB_TAG }}