mirror of
https://github.com/coralogix/cx-cli.git
synced 2026-09-14 16:15:45 +08:00
24 lines
546 B
YAML
24 lines
546 B
YAML
name: Trigger Documentation Sync
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'README.md'
|
|
- 'docs/*.md'
|
|
|
|
jobs:
|
|
trigger_action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Trigger docs deploy
|
|
run: |
|
|
curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
https://api.github.com/repos/coralogix/documentation/dispatches \
|
|
-d '{"event_type": "trigger-deploy"}'
|