From 182e2935b0f2a349a705e4cc2f85ade56da386d1 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:23:33 +0100 Subject: [PATCH 1/3] Add web-meta.yaml for Basic Analysis course --- .github/web-meta.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/web-meta.yaml diff --git a/.github/web-meta.yaml b/.github/web-meta.yaml new file mode 100644 index 0000000..08a8fb2 --- /dev/null +++ b/.github/web-meta.yaml @@ -0,0 +1,5 @@ +name: Introducing Basic Analysis +category: analysis +authors: "" +shortdesc: In this course we will explore some of the issues in simulation preparation and analysis that can trip up the unwary, and how to avoid them. +longdesc: "" From 3e4a3c7b53297c5ef7e73100b52a713be51bfbc0 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:57:38 +0100 Subject: [PATCH 2/3] Change event type from 'build' to 'workshops' --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e5a42e2..8f1035d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -175,5 +175,5 @@ jobs: with: token: ${{ secrets.BUILD_TOKEN }} repository: ccpbiosim/ccpbiosim.github.io - event-type: build + event-type: workshops client-payload: '{"repo": "${{ github.event.repository.name }}", "tag": "${{ needs.build.outputs.tag }}"}' From 53462543755dc1f0de08d415707ac18635f594ea Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Mon, 5 Oct 2026 20:35:29 +0100 Subject: [PATCH 3/3] Add build dispatch payload step to workflow --- .github/workflows/build.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8f1035d..ba6766e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -170,10 +170,24 @@ jobs: run: | docker buildx imagetools inspect ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:latest + - name: checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + + - name: Build dispatch payload + id: payload + env: + REPO: ${{ github.event.repository.name }} + TAG: ${{ needs.build.outputs.tag }} + run: | + payload=$(yq -o=json '.' web-meta.yaml \ + | jq -c --arg repo "$REPO" --arg tag "$TAG" \ + '{repo: $repo, tag: $tag, meta: .}') + echo "json=$payload" >> "$GITHUB_OUTPUT" + - name: Post version update to dash uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 with: token: ${{ secrets.BUILD_TOKEN }} repository: ccpbiosim/ccpbiosim.github.io - event-type: workshops - client-payload: '{"repo": "${{ github.event.repository.name }}", "tag": "${{ needs.build.outputs.tag }}"}' + event-type: workshops + client-payload: ${{ steps.payload.outputs.json }}