Skip to content

Commit

Permalink
Update docker_slack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored Aug 12, 2023
1 parent f0a13df commit e0b8530
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker_slack.yml
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
name: Publish slack message
on:
push:
branches: [ main ]
paths:
- docker/**
workflow_run:
workflows: [Build and push final image]
types:
- completed
workflow_dispatch:

jobs:
publish-slack:
runs-on: self-hosted
steps:
- run: echo 'The triggering workflow failed'
- name: Publish slack message
uses: ./.github/action_templates/slack
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
job-status: ${{ job.status }}
pull_request_url: ${{ github.event.pull_request.html_url }}
head_commit_url: ${{ github.event.head_commit.url }}

0 comments on commit e0b8530

Please sign in to comment.