|
| 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 | + ref: "refs/heads/main" |
| 24 | + path: "pulpcore" |
| 25 | + |
| 26 | + - uses: "actions/checkout@v4" |
| 27 | + with: |
| 28 | + repository: "pulp/pulp_ansible" |
| 29 | + ref: "refs/heads/main" |
| 30 | + path: "pulp_ansible" |
| 31 | + |
| 32 | + - uses: "actions/checkout@v4" |
| 33 | + with: |
| 34 | + repository: "pulp/pulp_container" |
| 35 | + ref: "refs/heads/main" |
| 36 | + path: "pulp_container" |
| 37 | + |
| 38 | + - uses: "actions/checkout@v4" |
| 39 | + with: |
| 40 | + repository: "pulp/pulp_deb" |
| 41 | + ref: "refs/heads/main" |
| 42 | + path: "pulp_deb" |
| 43 | + |
| 44 | + - uses: "actions/checkout@v4" |
| 45 | + with: |
| 46 | + repository: "pulp/pulp_gem" |
| 47 | + ref: "refs/heads/main" |
| 48 | + path: "pulp_gem" |
| 49 | + |
| 50 | + - uses: "actions/checkout@v4" |
| 51 | + with: |
| 52 | + repository: "pulp/pulp_maven" |
| 53 | + ref: "refs/heads/main" |
| 54 | + path: "pulp_maven" |
| 55 | + |
| 56 | + - uses: "actions/checkout@v4" |
| 57 | + with: |
| 58 | + repository: "pulp/pulp_npm" |
| 59 | + ref: "refs/heads/main" |
| 60 | + path: "pulp_npm" |
| 61 | + |
| 62 | + - uses: "actions/checkout@v4" |
| 63 | + with: |
| 64 | + repository: "pulp/pulp_ostree" |
| 65 | + ref: "refs/heads/main" |
| 66 | + path: "pulp_ostree" |
| 67 | + |
| 68 | + - uses: "actions/checkout@v4" |
| 69 | + with: |
| 70 | + repository: "pulp/pulp_python" |
| 71 | + ref: "refs/heads/main" |
| 72 | + path: "pulp_python" |
| 73 | + |
| 74 | + - uses: "actions/checkout@v4" |
| 75 | + with: |
| 76 | + repository: "pulp/pulp_rpm" |
| 77 | + ref: "refs/heads/main" |
| 78 | + path: "pulp_rpm" |
| 79 | + |
| 80 | + - uses: "actions/checkout@v4" |
| 81 | + with: |
| 82 | + repository: "pulp/pulp-cli" |
| 83 | + ref: "refs/heads/main" |
| 84 | + path: "pulp-cli" |
| 85 | + |
| 86 | + - uses: "actions/checkout@v4" |
| 87 | + with: |
| 88 | + repository: "pulp/pulp-ui" |
| 89 | + ref: "refs/heads/main" |
| 90 | + path: "pulp-ui" |
| 91 | + |
| 92 | + - uses: "actions/checkout@v4" |
| 93 | + with: |
| 94 | + repository: "pulp/pulp-openapi-generator" |
| 95 | + ref: "refs/heads/main" |
| 96 | + path: "pulp-openapi-generator" |
| 97 | + |
| 98 | + - uses: "actions/checkout@v4" |
| 99 | + with: |
| 100 | + repository: "pulp/pulp-oci-images" |
| 101 | + ref: "refs/heads/latest" |
| 102 | + path: "pulp-oci-images" |
| 103 | + |
| 104 | + - uses: "actions/checkout@v4" |
| 105 | + with: |
| 106 | + repository: "pulp/pulp-operator" |
| 107 | + ref: "refs/heads/main" |
| 108 | + path: "pulp-operator" |
| 109 | + |
11 | 110 | - name: "Set up Python" |
12 | 111 | uses: "actions/setup-python@v5" |
13 | 112 | with: |
14 | | - python-version: "3.11" |
| 113 | + python-version: "3.12" |
15 | 114 |
|
16 | 115 | - name: "Install Test Dependencies" |
17 | 116 | run: | |
18 | 117 | pip install -r doc_requirements.txt |
19 | 118 |
|
20 | | - - name: Build docs |
| 119 | + - name: "Build docs" |
21 | 120 | run: | |
22 | | - make docs |
| 121 | + mkdocs build |
| 122 | +... |
0 commit comments