only push docker images and docs when a pr does not come from a fork

This commit is contained in:
maxDorninger
2025-11-01 16:29:05 +01:00
parent 32aae83875
commit 221a4c3506
3 changed files with 6 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: [ build, test ]
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Download artifacts
@@ -111,6 +112,7 @@ jobs:
publish-indexes:
needs: [ build, test, deploy ]
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
container:
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-3
steps: