diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 26d5ca3af7..65458d8d4b 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -41,11 +41,7 @@ jobs: - name: Rollout in Kubernetes run: | - curl -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/rollout-k8s-staging.yaml/dispatches \ - -d '{"ref":"main","inputs":{docker_sha":"aouoeaueaoeu"}}' + curl -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/rollout-k8s-staging.yaml/dispatches -d '{"ref":"main","inputs":{"docker_sha":"aoeueaouaeo"}}' - name: my-app-install token id: notify-pr-bot @@ -66,8 +62,4 @@ jobs: sbom_name: "notification-api" token: "${{ secrets.GITHUB_TOKEN }}" - - name: Notify Slack channel if this job failed - if: ${{ failure() }} - run: | - json="{'text':' CI is failing in !'}" - curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK }} +