From 9f1ec4ed8619949c14840a9894689226bd8a94bd Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Mon, 28 Sep 2026 14:52:53 +0200 Subject: [PATCH 1/2] fix(github): typofix in env --- .github/workflows/mcp-server-cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mcp-server-cd.yaml b/.github/workflows/mcp-server-cd.yaml index e6fb42e9835..be55844d2b3 100644 --- a/.github/workflows/mcp-server-cd.yaml +++ b/.github/workflows/mcp-server-cd.yaml @@ -16,7 +16,7 @@ jobs: integration_deployment: name: Deploy (${{ github.ref_type == 'tag' && 'production' || 'integration' }}) runs-on: ubuntu-latest - environment: ${{ github.ref_type == 'tag' && 'production' || 'integration' }}' + environment: ${{ github.ref_type == 'tag' && 'production' || 'integration' }} if: ${{ github.ref_type == 'tag' }} || contains(github.event.pull_request.labels.*.name, 'integration') steps: From bc03daa8c49dd9d27055626ce4645cd9b407d420 Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Mon, 28 Sep 2026 15:02:51 +0200 Subject: [PATCH 2/2] fix(workflow): no release object, tags used --- .github/workflows/mcp-server-cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mcp-server-cd.yaml b/.github/workflows/mcp-server-cd.yaml index be55844d2b3..17ed1037fb2 100644 --- a/.github/workflows/mcp-server-cd.yaml +++ b/.github/workflows/mcp-server-cd.yaml @@ -38,5 +38,5 @@ jobs: repository: PrestaShopCorp/devdocs-cd token: '${{ secrets.TRIGGER_TOKEN }}' event-type: "dev-docs-mcp-server" - client-payload: '{"environment": "${{ github.event.action == ''released'' && ''production'' || ''integration'' }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag": "${{ steps.get_tag.outputs.TAG }}"}' + client-payload: '{"environment": "${{ github.ref_type == ''tag'' && ''production'' || ''integration'' }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag": "${{ steps.get_tag.outputs.TAG }}"}'