mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
ci: prevent running docs index on forks (#11762)
This commit is contained in:
parent
52a96ad68c
commit
e04ffd3f3d
9
.github/workflows/docsearch.yml
vendored
9
.github/workflows/docsearch.yml
vendored
@ -6,15 +6,14 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
index_docs:
|
||||
index-docs:
|
||||
if: ${{ !github.event.repository.fork }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Index docs to Typesense
|
||||
run: |
|
||||
- run: |
|
||||
docker run \
|
||||
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
|
||||
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user