From fd3a989a4960bda1b9054ba513bed11110c48c66 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Sat, 13 Jul 2024 18:08:38 +0530 Subject: [PATCH] Updated GH action to publish docs on release creation Signed-off-by: Amith Koujalgi --- .github/workflows/publish-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index b421c1e..7e2d351 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -2,9 +2,8 @@ name: Deploy Docs to GH Pages on: - # Runs on pushes targeting the default branch - push: - branches: [ "main" ] + release: + types: [ created ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: