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: