|
| 1 | +--- |
1 | 2 | name: "Docs Test" |
2 | 3 |
|
3 | 4 | on: |
4 | 5 | workflow_call: |
5 | 6 |
|
| 7 | +defaults: |
| 8 | + run: |
| 9 | + working-directory: "pulp-docs" |
| 10 | + |
6 | 11 | jobs: |
7 | | - run-test: |
| 12 | + build-docs: |
8 | 13 | runs-on: "ubuntu-latest" |
9 | 14 | steps: |
10 | 15 | - uses: "actions/checkout@v4" |
| 16 | + with: |
| 17 | + path: "pulp-docs" |
| 18 | + fetch-depth: 0 |
| 19 | + |
| 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_file" |
| 43 | + path: "pulp_file" |
| 44 | + |
| 45 | + - uses: "actions/checkout@v4" |
| 46 | + with: |
| 47 | + repository: "pulp/pulp_gem" |
| 48 | + path: "pulp_gem" |
| 49 | + |
| 50 | + - uses: "actions/checkout@v4" |
| 51 | + with: |
| 52 | + repository: "pulp/pulp_maven" |
| 53 | + path: "pulp_maven" |
| 54 | + |
| 55 | + - uses: "actions/checkout@v4" |
| 56 | + with: |
| 57 | + repository: "pulp/pulp_npm" |
| 58 | + path: "pulp_npm" |
| 59 | + |
| 60 | + - uses: "actions/checkout@v4" |
| 61 | + with: |
| 62 | + repository: "pulp/pulp_ostree" |
| 63 | + path: "pulp_ostree" |
| 64 | + |
| 65 | + - uses: "actions/checkout@v4" |
| 66 | + with: |
| 67 | + repository: "pulp/pulp_python" |
| 68 | + path: "pulp_python" |
| 69 | + |
| 70 | + - uses: "actions/checkout@v4" |
| 71 | + with: |
| 72 | + repository: "pulp/pulp_rpm" |
| 73 | + path: "pulp_rpm" |
| 74 | + |
| 75 | + - uses: "actions/checkout@v4" |
| 76 | + with: |
| 77 | + repository: "pulp/pulp-cli" |
| 78 | + path: "pulp-cli" |
| 79 | + |
11 | 80 | - name: "Set up Python" |
12 | 81 | uses: "actions/setup-python@v5" |
13 | 82 | with: |
14 | | - python-version: "3.11" |
| 83 | + python-version: "3.12" |
15 | 84 |
|
16 | 85 | - name: "Install Test Dependencies" |
17 | 86 | run: | |
18 | 87 | pip install -r doc_requirements.txt |
19 | 88 |
|
20 | | - - name: Build docs |
| 89 | + - name: "Build docs" |
21 | 90 | run: | |
22 | | - make docs |
| 91 | + mkdocs build |
| 92 | +... |
0 commit comments