From a8a8eeaf6b2478925f5b6284c8b66d9378b0aae0 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:36:07 +0100 Subject: [PATCH 1/3] Add web metadata for QM/MM course Added metadata for the QM/MM course including name, category, and descriptions. --- .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..136bb65 --- /dev/null +++ b/.github/web-meta.yaml @@ -0,0 +1,5 @@ +name: Introducing QM/MM +category: advanced +authors: "" +shortdesc: The course will introduce non-specialists to the use of combined quantum mechanics/molecular mechanics (QM/MM) methods for modelling enzyme-catalysed reaction mechanisms. +longdesc: "" From 80a27aafaa4503cb25d5294a951ea3dfebe64b69 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:56:06 +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 55ab59a..7c0c612 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -224,5 +224,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 9491fd51c3c135340a7b956a56cfc94c6c59304c Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Mon, 5 Oct 2026 20:30:42 +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 7c0c612..5226656 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -219,10 +219,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 }}