Skip to content

docs: Update example Machine ID Kubernetes role to version v7 (#50776) #8289

docs: Update example Machine ID Kubernetes role to version v7 (#50776)

docs: Update example Machine ID Kubernetes role to version v7 (#50776) #8289

name: Update docs webhook
on:
push:
paths:
- 'docs/**'
branches:
- master
- branch/v*
workflow_dispatch:
jobs:
update-webhook:
name: Update docs webhook
runs-on: ubuntu-latest
environment: update-docs
strategy:
fail-fast: false
steps:
- name: Call deployment webhook
env:
WEBHOOK_URL: ${{ secrets[AMPLIFY_DOCS_DEPLOY_HOOK] }}

Check failure on line 21 in .github/workflows/update-docs-webhook.yaml

View workflow run for this annotation

GitHub Actions / Update docs webhook

Invalid workflow file

The workflow is not valid. .github/workflows/update-docs-webhook.yaml (Line: 21, Col: 24): Unrecognized named-value: 'AMPLIFY_DOCS_DEPLOY_HOOK'. Located at position 9 within expression: secrets[AMPLIFY_DOCS_DEPLOY_HOOK]
run: |
if curl -X POST --silent --fail --show-error "$WEBHOOK_URL" > /dev/null; then
echo "Triggered successfully"
fi