Skip to content

Commit fcb8e70

Browse files
committed
Update workflow file
1 parent 1710805 commit fcb8e70

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pulp-docs-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,20 @@ jobs:
2727
python-version: "3.12"
2828

2929
- name: "Install pulp-docs"
30+
working-directory: "pulp-docs"
3031
run: |
31-
cd pulp-docs
3232
pip install --upgrade pip
3333
pip install -r doc_requirements.txt
3434
3535
- name: "Build Docs"
36+
working-directory: "pulp-docs"
3637
run: |
37-
echo $PWD
38-
cd pulp-docs
3938
pulp-docs fetch --dest /tmp/pulp-docs-tmp
4039
pulp-docs build --path pulp-docs@..:${{ github.event.repository.name }}@..:/tmp/pulp-docs-tmp
4140
4241
- name: "Sanity Check"
42+
working-directory: "pulp-docs"
4343
shell: bash
44-
run: ls "${{ github.event.repository.name }}/index.html"
44+
run: |
45+
echo "Checking that the namespace for the component under CI exists in the built docs."
46+
ls "site/${{ github.event.repository.name }}/docs"

0 commit comments

Comments
 (0)