From 5c27a0574b4c3153d946b79d09af6cc004633e53 Mon Sep 17 00:00:00 2001 From: Skylar Simoncelli <128400943+skylar-simoncelli@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:28:10 +0100 Subject: [PATCH] fix: publish --- .github/workflows/cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index aabf5e3f0..ac37d0de6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -420,7 +420,7 @@ jobs: threads: 1 publish: - if: ${{ github.event.inputs.no-release != 'true' && (github.event.inputs.no-tests == 'true' || needs.run-all-tests-on-n2-epoch.result == 'success') }} + if: ${{ always() && github.event.inputs.no-release != 'true' && (github.event.inputs.no-tests == 'true' || needs.run-all-tests-on-n2-epoch.result == 'success') }} permissions: id-token: write contents: write @@ -440,6 +440,7 @@ jobs: https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yml/dispatches \ -d '{"ref": "main", "inputs": {"sha": "${{ github.sha }}", "tag": "${{ github.ref }}"}}' + # deploy-staging-preprod: # if: ${{ github.event.inputs.no-deploy != 'true' }} # permissions: