Updating documentation for Admin Console and Redis 6.0 (#1291) #320
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }}" | |
| } |