From 5d57e8d48241ccdce3a90bd39df282193db60a60 Mon Sep 17 00:00:00 2001 From: Alex Dzwonchyk Date: Wed, 21 Aug 2024 15:48:23 -0400 Subject: [PATCH] Update github pages workflow to only publish on release (#1282) --- .github/workflows/gh-pages-deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index 9d80f2fa..7f82a30e 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -1,9 +1,7 @@ name: Deploy to github pages on: - workflow_dispatch: - push: - branches: - - main + release: + types: [published] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: