Skip to content

Commit

Permalink
Trigger reindex when RESOLUTIONS run
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Gajdosik authored and agajdosi committed Jan 7, 2025
1 parent 9204945 commit 3167d54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/webhook_process_asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
REINDEX:
runs-on: ubuntu-latest
needs: [RESOLUTIONS, GLTF, GLTF_GODOT]
if: always()
if: contains(fromJSON('["model", "material", "hdr"]'), github.event.inputs.asset_type || github.event.client_payload.asset_type) &&
(github.event.inputs.verification_status == 'validated' || github.event.client_payload.verification_status == 'validated') &&
(github.event.inputs.is_private != 'true' && github.event.client_payload.is_private != 'true') # same statement as in RESOLUTIONS
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 3167d54

Please sign in to comment.