Loading .gitlab-ci.yml +20 −0 Original line number Diff line number Diff line stages: - test - deploy Run tests: stage: test Loading @@ -15,4 +16,23 @@ Run tests: - main - merge_requests pages: stage: deploy image: python:3.12 needs: ["Run tests"] # Wait for tests to pass before_script: - pip install uv - uv venv - uv pip install mkdocs mkdocs-material mike mkdocstrings mkdocstrings-python ruff script: - rm -rf public - uv run mkdocs build --site-dir public artifacts: paths: - public rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' Loading
.gitlab-ci.yml +20 −0 Original line number Diff line number Diff line stages: - test - deploy Run tests: stage: test Loading @@ -15,4 +16,23 @@ Run tests: - main - merge_requests pages: stage: deploy image: python:3.12 needs: ["Run tests"] # Wait for tests to pass before_script: - pip install uv - uv venv - uv pip install mkdocs mkdocs-material mike mkdocstrings mkdocstrings-python ruff script: - rm -rf public - uv run mkdocs build --site-dir public artifacts: paths: - public rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'