From f41b207333cc60aeb1c0aa4eab20a722832ee5e3 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Fri, 16 Mar 2018 12:38:19 -0700 Subject: [PATCH] Update CircleCI info Show how you can make it so CircleCI only runs when a commit is directly made to the `master` branch. --- docs/getting-started-publishing.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/getting-started-publishing.md b/docs/getting-started-publishing.md index 27fcba3b4e..a812ff6e1c 100644 --- a/docs/getting-started-publishing.md +++ b/docs/getting-started-publishing.md @@ -86,6 +86,15 @@ If you haven't done so already, you can [setup CircleCI](https://circleci.com/si 1. Copy the text below into `.circleci/config.yml`. ```yml +# If you only one circle to run on direct commits to master, you can uncomment this out +# and uncomment the filters: *filter-only-master down below too +# +# aliases: +# - &filter-only-master +# branches: +# only: +# - master + version: 2 jobs: deploy-website: @@ -108,6 +117,7 @@ workflows: build_and_deploy: jobs: - deploy-website +# filters: *filter-only-master ``` Make sure to replace all `<....>` in the `command:` sequence with appropriate values. For ``, it should be a GitHub account that has access to push documentation to your GitHub repo. Many times `` and `` will be the same.