From e43892fec1a066abb543996a16e6a4e776e419ef Mon Sep 17 00:00:00 2001 From: AA Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 9 Jun 2021 01:22:33 +0100 Subject: [PATCH] Update to only deploy Sphinx on pushing to `master` --- .github/workflows/deploy-gh-pages.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-gh-pages.yaml b/.github/workflows/deploy-gh-pages.yaml index dda95fead8b..5fbff052a59 100644 --- a/.github/workflows/deploy-gh-pages.yaml +++ b/.github/workflows/deploy-gh-pages.yaml @@ -1,6 +1,8 @@ name: Deploy to GitHub Pages -on: [push] +on: + push: + branches: [master] jobs: deploy-to-pages: