Skip to content

Commit 90ea5ff

Browse files
authored
Merge pull request #1284 from pulp/update-ci/main
Update CI files for branch main
2 parents 2e1e5b1 + 37b6d1b commit 90ea5ff

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# For more info visit https://github.com/pulp/plugin_template
77

88
---
9-
name: "Docs"
9+
name: "Docs CI"
1010
on:
1111
workflow_call:
1212

1313
jobs:
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')"

doc_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
#
66
# For more info visit https://github.com/pulp/plugin_template
77
towncrier
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

0 commit comments

Comments
 (0)