From b602e9f76e1e8d461d7381061dc4026d7d1e8c4a Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:32:38 +0100 Subject: [PATCH 1/3] Create web-meta.yaml for course metadata Add metadata for Protein Analysis with Machine Learning 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..255eef1 --- /dev/null +++ b/.github/web-meta.yaml @@ -0,0 +1,5 @@ +name: Protein Analysis with Machine Learning +category: analysis +authors: "" +shortdesc: This course introduces the application of Machine Learning methods (specifically, PCA and clustering) to the analysis of protein simulation data. +longdesc: "" From 45d376f669936dc4ac24c23ab04190b3b17b6c51 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:56:31 +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 21cf8e2..a869df9 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 2b1c89cd34adbd2d620248ff9c8c5226f07cca14 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Mon, 5 Oct 2026 20:31:51 +0100 Subject: [PATCH 3/3] Add checkout step and build dispatch payload --- .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 a869df9..6c8f6a7 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 }}