From 40e6dcd5c1b056b7b330ac04f5ac980517424484 Mon Sep 17 00:00:00 2001 From: Skylar Simoncelli <128400943+skylar-simoncelli@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:31:40 +0100 Subject: [PATCH] Update cd.yml --- .github/workflows/cd.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f7bccf7b2..5168e1085 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -421,26 +421,6 @@ jobs: deployment_mc_epoch: $DEPLOYMENT_MC_EPOCH threads: 1 - publish: - 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 - packages: write - needs: - - build-linux - - build-macos-x86_64 - - build-macos-arm64 - - run-all-tests-on-n2-epoch - runs-on: ubuntu-latest - steps: - - name: Trigger Publish Workflow - run: | - curl -X POST \ - -H "Authorization: token ${{ secrets.ACTIONS_PUBLISH_PAT }}" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yml/dispatches \ - -d '{"ref": "${{ github.ref_name }}", "inputs": {"sha": "${{ inputs.sha }}", "tag": "${{ inputs.tag }}"}}' # deploy-staging-preprod: # if: ${{ github.event.inputs.no-deploy != 'true' }}