Skip to content

Commit

Permalink
Merge pull request #22 from optuna/add-workflow-dispatch
Browse files Browse the repository at this point in the history
Add workflow dispatch to the docs CI
  • Loading branch information
HideakiImamura authored May 17, 2024
2 parents 4651368 + 12ca6e7 commit b5ed327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
release:
types:
- published
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
path: docs/build/html

deploy:
if: github.event_name == 'push'
if: github.event_name != 'pull_request'
needs: build
permissions:
pages: write
Expand Down

0 comments on commit b5ed327

Please sign in to comment.