Skip to content

Commit

Permalink
Pass webhook secrets for deploy workflow
Browse files Browse the repository at this point in the history
The re-usable deploy workflow has been updated to send a webhook to trigger the
update-image-tag Argo Workflow, instead of updating the govuk-helm-charts repo
directly. The deploy workflow needs the secrets for the webhook token and url,
which are stored as GitHub Organisation secrets.
  • Loading branch information
theseanything committed Apr 12, 2022
1 parent a786a40 commit c856e06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
needs: build-and-publish-image
uses: alphagov/govuk-infrastructure/.github/workflows/deploy.yaml@main
secrets:
GOVUK_CI_GITHUB_API_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }}
WEBHOOK_TOKEN: ${{ secrets.ARGO_EVENTS_WEBHOOK_TOKEN }}
WEBHOOK_URL: ${{ secrets.ARGO_EVENTS_WEBHOOK_URL }}

0 comments on commit c856e06

Please sign in to comment.