mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: add slack nofifier to circleci.
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user