From c493c7b3fd658ded22fa60abe69f5fe6751b7696 Mon Sep 17 00:00:00 2001 From: Ross Buggins Date: Fri, 28 Jun 2024 11:39:07 +0100 Subject: [PATCH] Only pubish after pushed to main. --- .github/workflows/cicd-1-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd-1-pull-request.yaml b/.github/workflows/cicd-1-pull-request.yaml index 8871b5b..035ec2c 100644 --- a/.github/workflows/cicd-1-pull-request.yaml +++ b/.github/workflows/cicd-1-pull-request.yaml @@ -131,7 +131,7 @@ jobs: name: "Publish stage" needs: [metadata, acceptance-stage] uses: ./.github/workflows/stage-5-publish.yaml - if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') + if: (github.event_name == 'push' && github.ref == 'refs/heads/main') with: build_datetime: "${{ needs.metadata.outputs.build_datetime }}" build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"