From f5a2e6426bb223dfed69085adefcb225ed8a72e7 Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 21 Nov 2024 23:09:44 +0000 Subject: [PATCH] Fix docs build workflow Signed-off-by: George Steel --- .github/workflows/docs-build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 57378fb..4fbabba 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -1,11 +1,9 @@ name: docs-build on: - push: - branches: - - master - repository_dispatch: - types: docs-build + release: + types: [published] + workflow_dispatch: jobs: build-deploy: @@ -14,4 +12,4 @@ jobs: - name: Build Docs uses: laminas/documentation-theme/github-actions/docs@master env: - DOCS_DEPLOY_KEY: ${{ secrets.DOCS_DEPLOY_KEY }} + DEPLOY_TOKEN: ${{ secrets.GITHUB_TOKEN }}