]> git.immae.eu Git - github/fretlink/tap-google-sheets.git/commitdiff
add slack orb and context user (#20)
authorKyle Speer <54034650+kspeer825@users.noreply.github.com>
Tue, 6 Oct 2020 12:36:54 +0000 (08:36 -0400)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 12:36:54 +0000 (08:36 -0400)
Co-authored-by: Kyle Speer <kspeer@stitchdata.com>
.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