-
Notifications
You must be signed in to change notification settings - Fork 0
/
cicd.yml
31 lines (31 loc) · 815 Bytes
/
cicd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: slack - GitHub Actions Slack integration
on:
push:
branches:
- 'main'
jobs:
job_1:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: act10ns/slack@v2.1.0
with:
status: starting
channel: '#apr24_bds_int_plant_recognition'
message: |
Author: ${{ github.actor }}
Message: ${{ github.event.head_commit.message }}
See the changes here: ${{ github.repository }}
if: always()
- name: Checkout
uses: actions/checkout@v4
- name: Dummy command
run: |
ls -lart
- uses: act10ns/slack@v2.1.0
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#apr24_bds_int_plant_recognition'
if: always()