Skip to content
Snippets Groups Projects
Commit dee0a096 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

build pages, but publish only for docs

parent 6f563761
No related branches found
No related tags found
1 merge request!31update dockerfile doc to follow the examples
Pipeline #133792 passed
......@@ -28,11 +28,13 @@ fetch_fragments:
- image_list.rst
pages:
# as not named pages, the gitlab pages will not be updated
check_pages_build:
stage: build
needs: ["fetch_fragments"]
rules:
- if: $CI_COMMIT_BRANCH == "docs"
- if: $CI_COMMIT_BRANCH != "docs"
image: python:3.10
script:
- mv image_list.rst source/user_guide/
......@@ -43,4 +45,11 @@ pages:
- mv build/html/ ./public
artifacts:
paths:
- public
\ No newline at end of file
- public
pages:
extends: check_pages_build
rules:
- if: $CI_COMMIT_BRANCH == "docs"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment