Skip to content

Updating documentation for Admin Console and Redis 6.0 (#1291) #320

Updating documentation for Admin Console and Redis 6.0 (#1291)

Updating documentation for Admin Console and Redis 6.0 (#1291) #320

name: Trigger Repo Sync in Other Repo
on:
push:
branches: [main]
jobs:
dispatch_workflow:
if: github.repository == 'hashicorp/web-unified-docs-internal' || github.repository == 'hashicorp/web-unified-docs'
runs-on: ubuntu-latest
steps:
- name: Dispatch workflow in target repo
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0
with:
token: ${{ secrets.CI_GITHUB_TOKEN }}
repository: hashicorp/${{ github.repository == 'hashicorp/web-unified-docs-internal' && 'web-unified-docs' || 'web-unified-docs-internal' }}
event-type: push-repo-sync
client-payload: |
{
"repository": "${{ github.repository }}",
"commit": "${{ github.sha }}"
}