Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Mar 7, 2024
1 parent 4999301 commit 96583c5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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':'<!here> CI is failing in <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|notification-api> !'}"
curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit 96583c5

Please sign in to comment.