Compare commits
4 Commits
aacefe062d
...
479433991c
| Author | SHA1 | Date | |
|---|---|---|---|
| 479433991c | |||
| 5a2fa01284 | |||
| 42891a309a | |||
| e76a3eb00c |
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
IMAGE_TAG: ${{ github.sha }}
|
IMAGE_TAG: ${{ github.sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: notify
|
- name: notify
|
||||||
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/notify@HEAD
|
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main
|
||||||
with:
|
with:
|
||||||
result: 'started'
|
result: 'started'
|
||||||
name: build tag ${{ inputs.tag }}
|
name: build tag ${{ inputs.tag }}
|
||||||
@@ -102,7 +102,7 @@ jobs:
|
|||||||
|
|
||||||
- name: post-notify
|
- name: post-notify
|
||||||
if: always()
|
if: always()
|
||||||
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/notify@HEAD
|
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main
|
||||||
with:
|
with:
|
||||||
result: ${{ steps.build-step.outcome }}
|
result: ${{ steps.build-step.outcome }}
|
||||||
name: build tag ${{ inputs.tag }}
|
name: build tag ${{ inputs.tag }}
|
||||||
|
|||||||
48
.github/workflows/notify.yaml
vendored
48
.github/workflows/notify.yaml
vendored
@@ -1,25 +1,25 @@
|
|||||||
# on:
|
on:
|
||||||
# workflow_call:
|
workflow_call:
|
||||||
# inputs:
|
inputs:
|
||||||
# result:
|
result:
|
||||||
# required: false
|
required: false
|
||||||
# default: "failure"
|
default: "failure"
|
||||||
# type: string
|
type: string
|
||||||
# name:
|
name:
|
||||||
# required: false
|
required: false
|
||||||
# type: string
|
type: string
|
||||||
# default: build
|
default: build
|
||||||
# jobs:
|
jobs:
|
||||||
# notify:
|
notify:
|
||||||
# runs-on: gpu
|
runs-on: gpu
|
||||||
# steps:
|
steps:
|
||||||
# - uses: dosymep/vk-teams-action@v1.0.0
|
- uses: dosymep/vk-teams-action@v1.0.0
|
||||||
# env:
|
env:
|
||||||
# ICONS: '{"success":"✅","failure":"❌","canceled":"🤦","started":"⚠️"}'
|
ICONS: '{"success":"✅","failure":"❌","canceled":"🤦","started":"⚠️"}'
|
||||||
# with:
|
with:
|
||||||
# token: ${{ secrets.VK_TEAMS_BOT_TOKEN }}
|
token: ${{ secrets.VK_TEAMS_BOT_TOKEN }}
|
||||||
# to: ${{ secrets.VK_TEAMS_CHAT_ID }}
|
to: ${{ secrets.VK_TEAMS_CHAT_ID }}
|
||||||
# format: MarkdownV2
|
format: MarkdownV2
|
||||||
# message: |
|
message: |
|
||||||
# ${{ github.repository }} \[${{inputs.name}}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) was ${{ inputs.result }} by ${{ github.event.sender.login }} ${{ fromJson(env.ICONS)[inputs.result] }}
|
${{ github.repository }} \[${{inputs.name}}\]\(${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}\) was ${{ inputs.result }} by ${{ github.event.sender.login }} ${{ fromJson(env.ICONS)[inputs.result] }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user