Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skylar-simoncelli authored Nov 15, 2024
1 parent 8e4ab4b commit 40e6dcd
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 40e6dcd

Please sign in to comment.