Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-schn authored Dec 9, 2024
1 parent 7f06567 commit 19ff310
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- main
release:
types: [published]
workflow_dispatch:
jobs:
build:
name: Build
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 19ff310

Please sign in to comment.