Skip to content

Commit

Permalink
Remove build docs step in gitlab ci when is set to True
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahcim committed Jul 31, 2024
1 parent a326651 commit b91a046
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion {{ cookiecutter.repo_name }}/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ tests:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH


{%- if cookiecutter.docs != "No docs" %}
##############################################

# Job to build Sphinx docs and host it on GitLab Pages
Expand All @@ -250,5 +252,6 @@ pages:
paths:
- public
rules:
- if: {{ cookiecutter.docs }} != "No docs"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

{% endif -%}

0 comments on commit b91a046

Please sign in to comment.