File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,9 @@ runs:
166166 working-directory : action/
167167 shell : bash
168168 - name : Send Snapshot Email
169- if : ${{ inputs.email && env.RESOURCE_URL != false }}
169+ if : ${{ inputs.email && inputs.assetLocation }}
170170 run : |
171- MESHERY_CLOUD_API_URL="https://cloud.layer5.io" MESHERY_TOKEN="${{ inputs.mesheryToken }}" EMAIL="${{ inputs.email }}" IMAGE_URI="${{ env.RESOURCE_URL }}" bash ./action/sendSnapshotEmail.sh
171+ MESHERY_CLOUD_API_URL="https://cloud.layer5.io" MESHERY_TOKEN="${{ inputs.mesheryToken }}" EMAIL="${{ inputs.email }}" IMAGE_URI="${{ inputs.assetLocation }}" bash ./action/sendSnapshotEmail.sh
172172 shell : bash
173173 - name : Comment Success Status
174174 if : ${{ success() && inputs.skipComment == 'false' && inputs.prNumber != '0' && env.RESOURCE_URL != false }}
Original file line number Diff line number Diff line change 66# IMAGE_URI: The URI of the snapshot image
77
88
9- response=$( curl -s -o /dev/null -w " %{http_code}" -X POST " $MESHERY_CLOUD_API_URL /api/snapshot/email" \
9+ response=$( curl -s -o /dev/null -w " %{http_code}" -X POST " $MESHERY_CLOUD_API_URL /api/integrations/ snapshot/email" \
1010 -H ' Accept: application/json' \
1111 -H ' Connection: close' \
1212 -H ' Content-Type: application/json' \
You can’t perform that action at this time.
0 commit comments