Commit 712c0c38 authored by Ondřej Surý's avatar Ondřej Surý

Use docs-* as a documentation build branch

parent 06f78d2a
...@@ -50,6 +50,7 @@ configure:ubuntu:amd64: ...@@ -50,6 +50,7 @@ configure:ubuntu:amd64:
<<: *configure_job <<: *configure_job
except: except:
- tags - tags
- docs-*
build:ubuntu:amd64: build:ubuntu:amd64:
<<: *ubuntu_xenial <<: *ubuntu_xenial
...@@ -58,6 +59,7 @@ build:ubuntu:amd64: ...@@ -58,6 +59,7 @@ build:ubuntu:amd64:
- configure:ubuntu:amd64 - configure:ubuntu:amd64
except: except:
- tags - tags
- docs-*
test:ubuntu:amd64: test:ubuntu:amd64:
<<: *ubuntu_xenial <<: *ubuntu_xenial
...@@ -66,6 +68,7 @@ test:ubuntu:amd64: ...@@ -66,6 +68,7 @@ test:ubuntu:amd64:
- build:ubuntu:amd64 - build:ubuntu:amd64
except: except:
- tags - tags
- docs-*
configure:debian:stretch:amd64: configure:debian:stretch:amd64:
<<: *debian_stretch <<: *debian_stretch
...@@ -91,6 +94,7 @@ build:documentation: ...@@ -91,6 +94,7 @@ build:documentation:
only: only:
- tags - tags
- triggers - triggers
- docs-*
script: script:
- make -C doc html singlehtml pdf - make -C doc html singlehtml pdf
artifacts: artifacts:
...@@ -108,6 +112,7 @@ deploy:documentation: ...@@ -108,6 +112,7 @@ deploy:documentation:
only: only:
- tags - tags
- triggers - triggers
- docs-*
script: script:
- "curl --http1.1 --request POST --form token=$WEBSITE_TOKEN --form ref=master --form \"variables[RELEASE_CI_BUILD_REF_NAME]=$CI_BUILD_REF_NAME\" --form \"variables[RELEASE_CI_BUILD_ID]=$CI_BUILD_ID\" https://gitlab.labs.nic.cz/api/v3/projects/5/trigger/builds" - "curl --http1.1 --request POST --form token=$WEBSITE_TOKEN --form ref=master --form \"variables[RELEASE_CI_BUILD_REF_NAME]=$CI_BUILD_REF_NAME\" --form \"variables[RELEASE_CI_BUILD_ID]=$CI_BUILD_ID\" https://gitlab.labs.nic.cz/api/v3/projects/5/trigger/builds"
artifacts: artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment