mirror of
https://github.com/galacean/engine.git
synced 2026-05-07 23:37:11 +08:00
chore: only triggered when docs change
This commit is contained in:
6
.github/workflows/trigger-website-build.yml
vendored
6
.github/workflows/trigger-website-build.yml
vendored
@@ -2,8 +2,8 @@ name: Trigger Website Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -19,4 +19,4 @@ jobs:
|
||||
-H "Authorization: Bearer ${{ secrets.WEBSITE_TRIGGER_TOKEN }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/galacean/website/dispatches \
|
||||
-d '{"event_type": "engine_update"}'
|
||||
-d '{"event_type": "engine_update","client_payload": {"engine_commit": "${{ github.event.head_commit.message }}"}}'
|
||||
|
||||
Reference in New Issue
Block a user