Skip to content

Aggregate Protocol Docs #461

Aggregate Protocol Docs

Aggregate Protocol Docs #461

name: Aggregate Protocol Docs
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
permissions:
contents: write
pull-requests: write
jobs:
aggregate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Sync docs from protocol repos
env:
DOCS_ORG: local-loop-io
DOCS_REPOS: loop-protocol
DOCS_SYNC_TOKEN: ${{ secrets.DOCS_SYNC_TOKEN }}
run: ./scripts/aggregate-docs.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "docs: sync protocol docs"
title: "docs: sync protocol docs"
body: "Automated sync from protocol repositories."
branch: "chore/docs-sync"
delete-branch: true