Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack notifications #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ defaults: &defaults
ADMIN_USERNAME: admin
TERM: dumb

version: 2
version: 2.1
orbs:
slack: circleci/[email protected]
jobs:
configure_env_vars:
<<: *defaults
Expand Down Expand Up @@ -121,6 +123,9 @@ jobs:
paths:
- web
- vendor

- slack/notify:
event: fail

build_yarn:
<<: *defaults
Expand Down Expand Up @@ -156,6 +161,9 @@ jobs:
# Must be relative path from root
paths:
- web/wp-content/themes/sage/dist

- slack/notify:
event: fail

deploy_to_pantheon:
<<: *defaults
Expand All @@ -182,6 +190,9 @@ jobs:
name: deploy to Pantheon
command: ./.ci/deploy/pantheon/dev-multidev

- slack/notify:
event: always

behat_test:
<<: *defaults
steps:
Expand Down Expand Up @@ -273,6 +284,7 @@ workflows:
- build_yarn
- build_php
- deploy_to_pantheon:
context: slack
requires:
# - static_tests
- build_yarn
Expand Down