Skip to content

Commit

Permalink
ci: add workflow_dispatch to the build-docs.yml (#138)
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk authored Jul 11, 2024
1 parent 7d1130e commit 8ce60e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
branch:
description: "Branch to build the does from"
required: false
default: "main"

defaults:
run:
Expand All @@ -17,7 +23,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 8ce60e9

Please sign in to comment.