From b22df8e852804fc8c6c371e2117851095c09e3c9 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 10:36:37 +0100 Subject: [PATCH 1/6] Fix typo in README.md: "Educational" replaced "Education" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6380ff..ca2db84 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # µEd API (µEd-api) -Educational Microservices API **specification**. +Education Microservices API **specification**. This repository is intentionally **spec-only**. It defines an **OpenAPI 3.1** contract that educational services can implement to conform to the µEd API. From c6d7952d3da44f46cc996b5295cf9f0abd4107e1 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 10:36:41 +0100 Subject: [PATCH 2/6] Fix typo in README.md: "Educational" replaced "Education" --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5018e07..6c37c6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,3 +37,16 @@ jobs: ## 📦 OpenAPI Specification Download the bundled OpenAPI spec: `openapi.yml` + + deploy-pages: + name: Dispatch Docs Deploy + needs: release + runs-on: ubuntu-latest + steps: + - name: Trigger docs repo build + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.DOCS_DEPLOY_TOKEN }} + repository: ${{ github.repository_owner }}/mEd-api-docs + event-type: trigger-build + client-payload: '{"tag": "${{ github.ref_name }}", "repo": "${{ github.repository }}"}' From 2dcd93afbb1b88911ea93cf597feac10d7f38e88 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 11:22:21 +0100 Subject: [PATCH 3/6] Add workflow_dispatch to release workflow for manual triggering --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c37c6f..0c00fe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,11 @@ on: push: tags: - "v*" + workflow_dispatch: + inputs: + tag: + description: "Tag to deploy docs for (e.g. v0.1.0)" + required: true permissions: contents: write @@ -11,15 +16,18 @@ permissions: jobs: lint: name: Lint + if: github.event_name == 'push' uses: ./.github/workflows/lint.yml bundle: name: Bundle + if: github.event_name == 'push' needs: lint uses: ./.github/workflows/bundle.yml release: name: Create Release + if: github.event_name == 'push' needs: bundle runs-on: ubuntu-latest steps: @@ -41,6 +49,7 @@ jobs: deploy-pages: name: Dispatch Docs Deploy needs: release + if: always() && (needs.release.result == 'success' || needs.release.result == 'skipped') runs-on: ubuntu-latest steps: - name: Trigger docs repo build @@ -49,4 +58,4 @@ jobs: token: ${{ secrets.DOCS_DEPLOY_TOKEN }} repository: ${{ github.repository_owner }}/mEd-api-docs event-type: trigger-build - client-payload: '{"tag": "${{ github.ref_name }}", "repo": "${{ github.repository }}"}' + client-payload: '{"tag": "${{ inputs.tag || github.ref_name }}", "repo": "${{ github.repository }}"}' From 516d083299c0ef54f31fa2b49adbaee236cba324 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 11:36:28 +0100 Subject: [PATCH 4/6] Enable pull request triggers in release workflow --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c00fe4..9dc72d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: tags: - "v*" + pull_request: workflow_dispatch: inputs: tag: From e23f5ee39287462f68955e564b335fc9bf996213 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 11:38:29 +0100 Subject: [PATCH 5/6] Fix typo in repository name in release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9dc72d8..ee2e078 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,6 @@ jobs: uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.DOCS_DEPLOY_TOKEN }} - repository: ${{ github.repository_owner }}/mEd-api-docs + repository: ${{ github.repository_owner }}/muEd-api-docs event-type: trigger-build client-payload: '{"tag": "${{ inputs.tag || github.ref_name }}", "repo": "${{ github.repository }}"}' From 30724a9624d6445fd8bb618e779cba69011c1d09 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Tue, 21 Apr 2026 11:39:09 +0100 Subject: [PATCH 6/6] Remove pull request trigger from release workflow --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee2e078..60e8fc7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,6 @@ on: push: tags: - "v*" - pull_request: workflow_dispatch: inputs: tag: