Skip to content

Commit a834ddd

Browse files
committed
Update build to use fetch and pulp-docs fresh checkout
1 parent 7ae67c7 commit a834ddd

File tree

2 files changed

+3
-77
lines changed

2 files changed

+3
-77
lines changed

.github/workflows/docs.yml

+1-76
Original file line numberDiff line numberDiff line change
@@ -17,81 +17,6 @@ jobs:
1717
path: "pulp-docs"
1818
fetch-depth: 0
1919

20-
- uses: "actions/checkout@v4"
21-
with:
22-
repository: "pulp/pulpcore"
23-
path: "pulpcore"
24-
25-
- uses: "actions/checkout@v4"
26-
with:
27-
repository: "pulp/pulp_ansible"
28-
path: "pulp_ansible"
29-
30-
- uses: "actions/checkout@v4"
31-
with:
32-
repository: "pulp/pulp_container"
33-
path: "pulp_container"
34-
35-
- uses: "actions/checkout@v4"
36-
with:
37-
repository: "pulp/pulp_deb"
38-
path: "pulp_deb"
39-
40-
- uses: "actions/checkout@v4"
41-
with:
42-
repository: "pulp/pulp_gem"
43-
path: "pulp_gem"
44-
45-
- uses: "actions/checkout@v4"
46-
with:
47-
repository: "pulp/pulp_maven"
48-
path: "pulp_maven"
49-
50-
- uses: "actions/checkout@v4"
51-
with:
52-
repository: "pulp/pulp_npm"
53-
path: "pulp_npm"
54-
55-
- uses: "actions/checkout@v4"
56-
with:
57-
repository: "pulp/pulp_ostree"
58-
path: "pulp_ostree"
59-
60-
- uses: "actions/checkout@v4"
61-
with:
62-
repository: "pulp/pulp_python"
63-
path: "pulp_python"
64-
65-
- uses: "actions/checkout@v4"
66-
with:
67-
repository: "pulp/pulp_rpm"
68-
path: "pulp_rpm"
69-
70-
- uses: "actions/checkout@v4"
71-
with:
72-
repository: "pulp/pulp-cli"
73-
path: "pulp-cli"
74-
75-
- uses: "actions/checkout@v4"
76-
with:
77-
repository: "pulp/pulp-ui"
78-
path: "pulp-ui"
79-
80-
- uses: "actions/checkout@v4"
81-
with:
82-
repository: "pulp/pulp-openapi-generator"
83-
path: "pulp-openapi-generator"
84-
85-
- uses: "actions/checkout@v4"
86-
with:
87-
repository: "pulp/pulp-oci-images"
88-
path: "pulp-oci-images"
89-
90-
- uses: "actions/checkout@v4"
91-
with:
92-
repository: "pulp/pulp-operator"
93-
path: "pulp-operator"
94-
9520
- name: "Set up Python"
9621
uses: "actions/setup-python@v5"
9722
with:
@@ -103,5 +28,5 @@ jobs:
10328
10429
- name: "Build docs"
10530
run: |
106-
mkdocs build
31+
make docs
10732
...

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
docs:
2-
mkdocs build
2+
pulp-docs fetch --dest /tmp/pulpdocs-tmp
3+
pulp-docs build --path pulp-docs@..:/tmp/pulpdocs-tmp
34

45
.PHONY: docs

0 commit comments

Comments
 (0)