From a4c9470899aa2166da87f42b5c74e0c720e0a4f5 Mon Sep 17 00:00:00 2001 From: Taras <9948629+taraspos@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:59:37 +0000 Subject: [PATCH] gha(update-docs-webhook): fix workflow syntax (#50778) * gha(update-docs-webhook): fix workflow syntax * Use `secret.NAME` syntax --- .github/workflows/update-docs-webhook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-docs-webhook.yaml b/.github/workflows/update-docs-webhook.yaml index 4c59c66039cbd..f1ade331c4276 100644 --- a/.github/workflows/update-docs-webhook.yaml +++ b/.github/workflows/update-docs-webhook.yaml @@ -18,7 +18,7 @@ jobs: steps: - name: Call deployment webhook env: - WEBHOOK_URL: ${{ secrets[AMPLIFY_DOCS_DEPLOY_HOOK] }} + WEBHOOK_URL: ${{ secrets.AMPLIFY_DOCS_DEPLOY_HOOK }} run: | if curl -X POST --silent --fail --show-error "$WEBHOOK_URL" > /dev/null; then echo "Triggered successfully"