I want to specify a GitLab job that creates a sphinx html documentation.
I am using a Python 3 alpine image (cannot specify which exactly).
the build stage within my .gitlab-ci.yml
looks like this:
pages:
stage: build
tags:
- buildtag
script:
- pip install -U sphinx
- sphinx-build -b html docs/ public/
only:
- master
however, the pipeline fails: sphinx-build: command not found
. (same error for make html
)
According to This Tutorial, my .gitlab-ci.yml
should be more or less correct.
What am I doing wrong? Is this issue related to the alpine image I am using?