]> git.immae.eu Git - github/fretlink/tap-google-sheets.git/blobdiff - .circleci/config.yml
add slack orb and context user (#20)
[github/fretlink/tap-google-sheets.git] / .circleci / config.yml
index fb0569be60cd6db3e8e00abae19be0c232687990..bb39c2c27173ddc383fd7637a0fc78e5151a96cc 100644 (file)
@@ -1,4 +1,7 @@
-version: 2
+version: 2.1
+orbs:
+  slack: circleci/slack@3.4.2
+
 jobs:
   build:
     docker:
@@ -38,11 +41,15 @@ jobs:
                        --password=$SANDBOX_PASSWORD \
                        --client-id=50 \
                        tap_tester.suites.google_sheets
+      - slack/notify-on-failure:
+          only_for_branches: master
+
 workflows:
   version: 2
   commit:
     jobs:
-      - build
+      - build:
+          context: circleci-user
   build_daily:
     triggers:
       - schedule:
@@ -52,4 +59,5 @@ workflows:
               only:
                 - master
     jobs:
-      - build
+      - build:
+          context: circleci-user