Skip to content

Commit

Permalink
only build on master
Browse files Browse the repository at this point in the history
  • Loading branch information
schickling committed Dec 27, 2017
1 parent f93e5de commit 733109a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:
# needed for release process
- run: brew install gettext
- run: cd packages/graphql-playground-electron && yarn
- run: cd packages/graphql-playground-electron && yarn release
- run: |
if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]]
then
cd packages/graphql-playground-electron && yarn release
else
cd packages/graphql-playground-electron && yarn build
fi
workflows:
version: 2
Expand Down

0 comments on commit 733109a

Please sign in to comment.