new_notify #45

Merged
alex merged 3 commits from new_notify into main 2025-10-16 08:04:52 +00:00

View File

@@ -33,9 +33,11 @@ jobs:
steps: steps:
- name: notify - name: notify
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main
env:
VK_TEAMS_BOT_TOKEN: ${{ secrets.VK_TEAMS_BOT_TOKEN }}
VK_TEAMS_CHAT_ID: ${{ secrets.VK_TEAMS_CHAT_ID }}
with: with:
result: 'started' result: 'started'
secrets: ${{ toJSON(secrets) }}
name: deploy ${{ inputs.environment }} tag ${{ inputs.tag }} name: deploy ${{ inputs.environment }} tag ${{ inputs.tag }}
- name: deploy - name: deploy
id: k8s_deploy id: k8s_deploy
@@ -48,7 +50,9 @@ jobs:
- name: post-notify - name: post-notify
if: always() if: always()
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main
env:
VK_TEAMS_BOT_TOKEN: ${{ secrets.VK_TEAMS_BOT_TOKEN }}
VK_TEAMS_CHAT_ID: ${{ secrets.VK_TEAMS_CHAT_ID }}
with: with:
result: ${{ steps.k8s_deploy.outcome }} result: ${{ steps.k8s_deploy.outcome }}
name: k8s deploy ${{ inputs.environment }} tag ${{ inputs.tag }} name: k8s deploy ${{ inputs.environment }} tag ${{ inputs.tag }}
secrets: ${{ toJSON(secrets) }}