From 1ba6962f88d4f014c4c7809f42206ef7ce4e114d Mon Sep 17 00:00:00 2001 From: William Barnhart Date: Fri, 28 Oct 2022 11:53:22 -0400 Subject: [PATCH] Update github pages only on tagged release (#400) --- .github/workflows/gh-pages.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d4fca155e..971f893e6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,9 +1,11 @@ name: Pages on: - push: + # Only run when release is created in the master branch + release: + types: [created] branches: - - master + - 'master' jobs: build: