Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
9d664404f5 | |||
1db8e3a50a | |||
68fb5d1b21 | |||
44d2b447ca | |||
b3b974942d | |||
0d14f451f3 | |||
6dd54fafd6 |
@@ -14,6 +14,18 @@ jobs:
|
||||
DOCKER_REGISTRY: registry.cn-hangzhou.aliyuncs.com
|
||||
DOCKER_USERNAME: rsjst
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- run: cat README.md
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 11
|
||||
|
||||
- run: java -version
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
@@ -23,11 +35,7 @@ jobs:
|
||||
|
||||
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
|
||||
- name: WeChat Work notification
|
||||
uses: seepine/action-wechat-work@master
|
||||
env:
|
||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||
with:
|
||||
msgtype: markdown
|
||||
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
||||
> 镜像:${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
||||
- name: notification
|
||||
if: ${{ secrets.BARK_TOKEN != '' }}
|
||||
run: |
|
||||
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'
|
Reference in New Issue
Block a user