File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 66# For more info visit https://github.com/pulp/plugin_template
77
88---
9- name : " Docs"
9+ name : " Docs CI "
1010on :
1111 workflow_call :
1212
1313jobs :
14- test :
14+ changelog :
1515 if : " endsWith(github.base_ref, 'main')"
1616 runs-on : " ubuntu-latest"
1717 defaults :
@@ -22,28 +22,21 @@ jobs:
2222 with :
2323 fetch-depth : 1
2424 path : " pulp_deb"
25- - uses : " actions/checkout@v4"
26- with :
27- fetch-depth : 0
28- repository : " pulp/pulp-docs"
29- path : " pulp-docs"
30- ref : " rewrite-as-mkdocs-plugin"
3125 - uses : " actions/setup-python@v5"
3226 with :
3327 python-version : " 3.12"
3428 - name : " Install python dependencies"
3529 run : |
3630 echo ::group::PYDEPS
37- pip install ../pulp-docs towncrier
31+ pip install towncrier
3832 echo ::endgroup::
3933 - name : " Build changelog"
4034 run : |
4135 towncrier build --yes --version 4.0.0.ci
42- - name : " Build docs"
43- working-directory : " pulp-docs"
44- run : |
45- pulp-docs fetch --dest ..
46- pulp-docs build
36+ docs :
37+ uses : ' pulp/pulp-docs/.github/workflows/docs-ci.yml@rewrite-as-mkdocs-plugin'
38+ with :
39+ pulpdocs_ref : ' rewrite-as-mkdocs-plugin'
4740
4841 no-test :
4942 if : " !endsWith(github.base_ref, 'main')"
Original file line number Diff line number Diff line change 55#
66# For more info visit https://github.com/pulp/plugin_template
77towncrier
8- pulp-docs @ git+https://github.com/pulp/pulp-docs@main
8+ pulp-docs @ git+https://github.com/pulp/pulp-docs@rewrite-as-mkdocs-plugin
You can’t perform that action at this time.
0 commit comments