Skip to content
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/slack@4.8.3
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