Skip to content

Commit ddfb5ee

Browse files
docs: add dispatch trigger for otel-ecs-fargate and otel-eks-fargate README sync (#903)
## Summary - Adds new `sync-fargate-docs.yml` workflow that triggers a Coralogix docs redeploy when `otel-ecs-fargate/README.md` or `otel-eks-fargate/README.md` change on master - These READMEs are now synced into the Coralogix docs repo as hybrid-sync external pages ## Why The Coralogix documentation pages for OTel ECS Fargate and EKS Fargate link to these upstream READMEs as external synced content. Without this trigger, README updates would not propagate to the docs site automatically. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c307541 commit ddfb5ee

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Trigger Fargate Documentation Sync
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- 'otel-ecs-fargate/README.md'
10+
- 'otel-eks-fargate/README.md'
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
trigger_action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: trigger ci action in documentation repo
20+
run: |
21+
# --fail-with-body: curl exits non-zero on HTTP 4xx/5xx (e.g. expired
22+
# GH_TOKEN, missing repo permissions) instead of silently treating
23+
# the dispatch as successful and leaving the docs deploy unfired.
24+
curl --fail-with-body -X POST \
25+
-H "Authorization: token ${{ secrets.GH_TOKEN }}" \
26+
-H "Accept: application/vnd.github.v3+json" \
27+
https://api.github.com/repos/coralogix/documentation/dispatches \
28+
-d '{
29+
"event_type": "trigger-deploy"
30+
}'

0 commit comments

Comments
 (0)