From e8022b85569ce154ee88f16f600a5edabb179a2c Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 17 Jul 2024 13:53:44 -0500 Subject: [PATCH] Update github-pages.yml --- .github/workflows/github-pages.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 48b6e6f1..486d1ed9 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -1,9 +1,8 @@ name: GitHub Pages Deploy on: - push: - branches: - - master - - main + release: + types: [published, prereleased] + workflow_dispatch: permissions: contents: write jobs: @@ -20,4 +19,4 @@ jobs: path: .cache - run: pip install mkdocs-material - run: pip install pillow cairosvg - - run: mkdocs gh-deploy --force \ No newline at end of file + - run: mkdocs gh-deploy --force