Skip to content

Commit

Permalink
Add action that syncs the docs repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Aug 5, 2024
1 parent a434c58 commit f17484d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sync-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Sync Docs
on:
workflow_dispatch:
inputs: {}
repository_dispatch:
types: [DOCS_UPDATED]

permissions:
contents: write
pull-requests: write

jobs:
submodule-sync:
name: Submodule Sync
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Submodule Sync
uses: mheap/submodule-sync-action@v1
with:
token: ${{ secrets.PAT }}
path: ./docs.konghq.com
ref: i18n-spike
pr_branch: automated-docs-update
base_branch: main
target_branch: main

0 comments on commit f17484d

Please sign in to comment.