Skip to content

Commit

Permalink
GitHub: notify frontend about dataset update
Browse files Browse the repository at this point in the history
  • Loading branch information
SalimTerryLi committed Feb 10, 2025
1 parent cbd15d8 commit 7929ddb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/json_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,16 @@ jobs:
with:
name: frontend-dataset
path: build
notify_frontend:
runs-on: ubuntu-latest
needs: generation
permissions:
actions: write
steps:
- run: curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secret.github_token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/openeuler-riscv/imagepub-web/actions/workflows/build.yml/dispatches \
-d '{"ref":"main"}'

0 comments on commit 7929ddb

Please sign in to comment.