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