diff --git a/scripts/callManifestsRollout.sh b/scripts/callManifestsRollout.sh deleted file mode 100755 index a8269f9090..0000000000 --- a/scripts/callManifestsRollout.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -GITHUB_SHA=$1 -PAYLOAD="{\"ref\":\"main\",\"inputs\":{\"docker_sha\":\"$GITHUB_SHA\"}}" - - -RESPONSE=$(curl -w '%{http_code}\n' \ - -o /dev/null -s \ - -L -X POST -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $WORKFLOW_PAT" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/cds-snc/notification-manifests/actions/workflows/admin-rollout-k8s-staging.yaml/dispatches \ - -d "$PAYLOAD") - -if [ "$RESPONSE" != 204 ]; then - echo "ERROR CALLING MANIFESTS ROLLOUT: HTTP RESPONSE: $RESPONSE" - exit 1 -fi