mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 02:21:02 +08:00
* Migrated docs webhook to GHA * reverted accidental e change * revert accidental actionbuttons change * fix attempt
22 lines
484 B
YAML
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
|