Skip to content

feat: HTTP Generator improvements #13

feat: HTTP Generator improvements

feat: HTTP Generator improvements #13

Workflow file for this run

---
name: Notify Documentation Update
on:
push:
branches: [main]
paths:
- "docs/**"
- ".hooks/generate_docs.py"
- ".github/workflows/docs-update.yaml"
workflow_dispatch:
jobs:
notify-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: app-token
with:
app-id: ${{ vars.UPDATE_DOCS_APP_ID }}
private-key: ${{ secrets.UPDATE_DOCS_PRIVATE_KEY }}
owner: "${{ github.repository_owner }}"
repositories: |
sdk
prod-docs
- name: Trigger docs repository workflow
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
with:
token: ${{ steps.app-token.outputs.token }}
repository: dreadnode/prod-docs
event-type: code-update
client-payload: |
{
"repository": "${{ github.repository }}",
"ref": "${{ github.ref }}",
"sha": "${{ github.sha }}",
"source_dir": "docs",
"target_dir": "open-source/rigging",
"nav_target": "Open Source/Rigging"
}