mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-02-09 00:35:00 +00:00
chore: fix PR cleanup workflow for forks
This commit is contained in:
parent
bb9b9d9877
commit
556193e861
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pr-cleanup.yaml
vendored
3
.github/workflows/pr-cleanup.yaml
vendored
|
@ -13,6 +13,7 @@ jobs:
|
|||
run: echo "name=${{ github.event.number || '${GITHUB_REF#refs/*/}' }}" >> $GITHUB_OUTPUT
|
||||
|
||||
algolia-rm-temp-index:
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
needs: deploy-context
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
@ -26,7 +27,7 @@ jobs:
|
|||
CRISP_API_IDENTIFIER: ${{ secrets.CRISP_API_IDENTIFIER }}
|
||||
CRISP_API_KEY: ${{ secrets.CRISP_API_KEY }}
|
||||
CRISP_WEBSITE_ID: ${{ secrets.CRISP_WEBSITE_ID }}
|
||||
- name: Remove temporary algolia index
|
||||
- name: Remove temporary Algolia index
|
||||
run: yarn workspace site algolia:clean
|
||||
env:
|
||||
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
|
||||
|
|
Loading…
Add table
Reference in a new issue