diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 9a566af0f..c568ef9a7 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -51,10 +51,12 @@ jobs: - name: Install dependencies and build doc run: | set +e + cd main poetry install --all-extras --with dev --sync - sphinx-build main/docs _build + poetry run sphinx-build docs ../_build echo "exitcode=$?" >> $GITHUB_ENV - + cd .. + - uses: actions/checkout@v4 with: # This is necessary so that we have the tags.