From 2775028c6150ce5ecf7ef15bc6fe5deb87cefafc Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:26:14 +0100 Subject: [PATCH 1/3] Add web-meta.yaml for DNA simulations 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..4fddb58 --- /dev/null +++ b/.github/web-meta.yaml @@ -0,0 +1,5 @@ +name: Running DNA Simulations +category: simulation +authors: "" +shortdesc: This course introduces tools for running simulations on DNA systems. +longdesc: "" From 92032253be0172c8286538082bda8eefb191810e Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Sat, 3 Oct 2026 21:57:20 +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 5fec150..4ebc4e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -176,5 +176,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 34b629babb4bd9c8ec5cb886d38a45a55b9aba86 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Mon, 5 Oct 2026 20:34:30 +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 4ebc4e5..a5be1c6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -171,10 +171,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 }}