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

View File

@@ -2,13 +2,6 @@ FROM node:14.15.0 as build
USER root
ARG WEB_REVERSE_PROXY_PORT=8000
ARG NO_DEFAULT=false
ARG REACT_APP_SERVICES_HOST=/services/m
ENV WEB_REVERSE_PROXY_PORT=$WEB_REVERSE_PROXY_PORT
ENV NO_DEFAULT=$NO_DEFAULT
WORKDIR /app
COPY ./package.json /app/package.json