mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +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'
|
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
orbs:
|
||||||
|
slack: circleci/slack@4.4.4
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
working_directory: ~/app/client
|
working_directory: ~/app/client
|
||||||
@@ -40,3 +41,16 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
docker login -u abouhuolia -p 1532015325_ASdfqwer
|
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
|
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
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./package.json /app/package.json
|
COPY ./package.json /app/package.json
|
||||||
|
|||||||
Reference in New Issue
Block a user