From c856e06cb0b1239fcfd2c5240b42d0d3f864c659 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Tue, 12 Apr 2022 11:10:48 +0100 Subject: [PATCH] Pass webhook secrets for deploy workflow 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. --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9dde52e5b..98fd465c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }}