Skip to content

Commit

Permalink
Skip docs-build on PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor committed Dec 30, 2024
1 parent 71100e9 commit 1f574e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ jobs:
echo "${{ env.VERSION }}" | aws s3 cp - "s3://dstack-gateway-downloads/stgn/latest-version"
docs-build:
# Skip for PRs from forks since mkdocs-material-insiders is not available in forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 1f574e5

Please sign in to comment.