From 19ff310017899025f90348cc73d700bff825c061 Mon Sep 17 00:00:00 2001 From: t-schn <67985666+t-schn@users.noreply.github.com> Date: Mon, 9 Dec 2024 10:07:04 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5137d47..d0a36f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,7 @@ on: - main release: types: [published] + workflow_dispatch: jobs: build: name: Build @@ -141,8 +142,8 @@ jobs: release-publish-pages: name: Publish Documentation Site runs-on: ubuntu-latest - needs: release-publish-artifacts - if: github.event_name == 'release' + needs: build + if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' defaults: run: shell: bash @@ -156,6 +157,11 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: + - name: Download zipped documentation + uses: actions/download-artifact@v4 + with: + name: zipped-documentation + path: dist/ - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4