Skip to content

Commit

Permalink
Merge pull request optuna#982 from porink0424/fix/no-publish-gh-pages…
Browse files Browse the repository at this point in the history
…-in-forks

Stop `publish-gh-pages` in forks
  • Loading branch information
c-bata authored Oct 30, 2024
2 parents bee602f + d8717c4 commit 12319fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest

# Not intended for forks
if: github.repository == 'optuna/optuna-dashboard'

steps:
- uses: actions/checkout@v3
- name: Install Rust toolchains
Expand Down

0 comments on commit 12319fa

Please sign in to comment.