docs: Update example Machine ID Kubernetes role to version v7 (#50776) #8289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Update docs webhookInvalid workflow file
|
||
run: | | ||
if curl -X POST --silent --fail --show-error "$WEBHOOK_URL" > /dev/null; then | ||
echo "Triggered successfully" | ||
fi |