Skip to content

Commit 7787460

Browse files
Copilotneilime
andcommitted
Integrate sync-docs directly into main-ci workflow
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
1 parent 3620f62 commit 7787460

4 files changed

Lines changed: 14 additions & 184 deletions

File tree

.github/workflows/__main-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ jobs:
3838
github-app-id: ${{ vars.CI_BOT_APP_ID }}
3939
secrets:
4040
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
41+
42+
sync-docs:
43+
needs: ci
44+
if: github.event_name != 'schedule'
45+
# main
46+
uses: >-
47+
hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@28c98a4b7eda20c80e9ed488f87dc1ed381476f5
48+
with:
49+
paths: |
50+
actions
51+
.github/workflows
52+
README.md
53+
secrets:
54+
github-token: ${{ secrets.PUBLIC_DOCS_TOKEN }}

.github/workflows/sync-docs.md

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

.github/workflows/sync-docs.yml

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

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ Opinionated GitHub Actions and reusable workflows for foundational continuous-in
4848
- [Linter](.github/workflows/linter.md) — runs Super Linter and shared formatting checks across the repository.
4949
- [Semantic pull request](.github/workflows/semantic-pull-request.md) — enforces semantic pull request titles before merging.
5050

51-
### Documentation
52-
53-
- [Sync Documentation](.github/workflows/sync-docs.md) — syncs documentation to public-docs portal for publication.
54-
5551
## Contributing
5652

5753
Contributions are welcome! Please see the [contributing guidelines](https://github.com/hoverkraft-tech/ci-github-publish/blob/main/CONTRIBUTING.md) for more details.

0 commit comments

Comments
 (0)