From 0395489ef61846c778f4a1c4d9ae4e292ffc69fc Mon Sep 17 00:00:00 2001 From: CatDeployed Date: Sat, 26 May 2018 20:03:02 -0400 Subject: [PATCH] prevent PR from triggering push --- .circleci/config.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5bce319..f33928d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,10 +1,15 @@ version: 2 jobs: - build: - machine: true - steps: - - checkout - - run: docker build -t postal:latest . + build: + machine: true + steps: + - checkout + - run: + name: Build Postal Docker Container + command: docker build -t postal:latest . + - run: + name: Skip this job for Pull Requests + command: '[[ -v CIRCLE_PR_NUMBER ]] && circleci step halt || true' workflows: version: 2 nightly: