feat: add slack nofifier to circleci.

This commit is contained in:
a.bouhuolia
2021-09-21 15:58:31 +02:00
parent 4ba4422dae
commit 1989269500
2 changed files with 16 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1
orbs:
slack: circleci/slack@4.4.4
jobs:
build:
working_directory: ~/app/client
@@ -39,4 +40,17 @@ jobs:
name: Publish Docker Image to Docker Hub
command: |
docker login -u abouhuolia -p 1532015325_ASdfqwer
docker push abouhuolia/bigcapital-client:latest
docker push abouhuolia/bigcapital-client:latest
slack-notify:
docker:
# replace with your preferred image
- image: cimg/base:stable
steps:
- slack/notify:
branch_pattern: master
channel: development
workflows:
example-workflow:
jobs:
- slack-notify