Files
teleport/.github/workflows/update-docs-webhook.yaml
T
fheinecke b76ee973ba Migrated docs webhook to GHA (#37114)
* Migrated docs webhook to GHA

* reverted accidental e change

* revert accidental actionbuttons change

* fix attempt
2024-01-29 20:52:16 +00:00

22 lines
484 B
YAML

name: Update docs webhook
on:
push:
branches:
- master
- branch/v*
workflow_dispatch:
jobs:
update-webhook:
name: Update docs webhook
runs-on: ubuntu-latest
environment: update-docs
steps:
- name: Call deployment webhook
env:
WEBHOOK_URL: ${{ secrets.DOCS_DEPLOY_HOOK }}
run: |
if curl --silent --fail --show-error "$WEBHOOK_URL" > /dev/null; then
echo "Triggered successfully"
fi