Skip to content

Commit a703b9d

Browse files
Copilotneilime
andcommitted
Configure sync-docs-dispatcher in main CI workflow
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
1 parent d5f77d7 commit a703b9d

File tree

3 files changed

+10
-309
lines changed

3 files changed

+10
-309
lines changed

.github/workflows/__main-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ jobs:
3939
github-app-id: ${{ vars.CI_BOT_APP_ID }}
4040
secrets:
4141
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
42+
43+
sync-docs:
44+
needs: release
45+
if: github.event_name != 'schedule' && github.ref == 'refs/heads/main' && needs.release.outputs.artifact-id
46+
uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@cd3f060f4c823de3294a7498b8a8617723b8cf53 # 0.2.0
47+
with:
48+
github-app-id: ${{ vars.PUBLIC_DOCS_APP_ID }}
49+
artifact-id: ${{ needs.release.outputs.artifact-id }}
50+
secrets:
51+
github-app-key: ${{ secrets.PUBLIC_DOCS_APP_PRIVATE_KEY }}

.github/workflows/sync-docs-dispatcher.md

Lines changed: 0 additions & 207 deletions
This file was deleted.

.github/workflows/sync-docs-dispatcher.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)