Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
9d664404f5 | |||
1db8e3a50a | |||
68fb5d1b21 |
@@ -35,12 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
|
|
||||||
- name: WeChat Work notification
|
- name: notification
|
||||||
uses: seepine/action-wechat-work@master
|
if: ${{ secrets.BARK_TOKEN != '' }}
|
||||||
if: ${{ env.WECHAT_WORK_BOT_WEBHOOK != '' }}
|
run: |
|
||||||
env:
|
curl 'https://api.day.app/${{ secrets.BARK_TOKEN }}/GiteaActions/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} build success.?icon=https://gitea.io/images/gitea.png&group=GiteaActions'
|
||||||
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
|
|
||||||
with:
|
|
||||||
msgtype: markdown
|
|
||||||
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
|
||||||
> 镜像: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
|
Reference in New Issue
Block a user