This commit is contained in:
千里走单骑 2024-04-03 00:42:23 +08:00
parent 89d11f75d4
commit 22fbad3dd3
1 changed files with 64 additions and 68 deletions

View File

@ -3,8 +3,8 @@ run-name: ${{ github.actor }} Gitea Actions 🚀🚀🚀
on:
push:
# Sequence of patterns matched against refs/heads
# branches:
# - main
branches:
- main
# Sequence of patterns matched against refs/tags
tags:
- v*
@ -93,15 +93,11 @@ jobs:
steps:
# 发送通知
- name: 微信通知
uses:
https://${{ env.DOMAIN }}/actions/action-wechat-work@master
uses: https://${{ env.DOMAIN }}/actions/action-wechat-work@master
# 若没有配置机器人WebHook则跳过
if: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK != '' }}
env:
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
with:
msgtype: markdown
content: "✅ 应用版本更新成功\n
> 🐬 镜像:\n
> softyouling-docker.pkg.coding.net/code/demo/demo:${{ github.sha }}\n
> 🍏 就能帮你到这了"
content: "✅ 应用版本更新成功\n > 🐬 镜像:\n > softyouling-docker.pkg.coding.net/code/demo/demo:${{ github.sha }}\n > 🍏 就能帮你到这了"