From a5c9c778ce8aa9b117636df5bd6849be7b2a2036 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Wed, 7 May 2025 14:26:00 +0200 Subject: [PATCH] updated action logic --- .github/workflows/static_pages.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/static_pages.yml b/.github/workflows/static_pages.yml index 1cd1291..654bf03 100644 --- a/.github/workflows/static_pages.yml +++ b/.github/workflows/static_pages.yml @@ -4,12 +4,8 @@ name: Deploy static content to Pages on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - push: - branches: - - main - paths: - - 'docs/**' - - '.github/workflows/static_pages.yml' + release: + types: [published] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: