mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
ci: Don't deploy docs on forks
It would fail unless the fork also has docs build artefacts for all previous releases. Based on https://gitlab.gnome.org/World/Rust/gir-rustdoc/-/merge_requests/10
This commit is contained in:
parent
edac1a1d3a
commit
e008923a30
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ variables:
|
||||||
# the name is used in the URL
|
# the name is used in the URL
|
||||||
# latest release must be at the top
|
# latest release must be at the top
|
||||||
# (only relevant on master branch)
|
# (only relevant on master branch)
|
||||||
|
NAMESPACE: gstreamer
|
||||||
RELEASES:
|
RELEASES:
|
||||||
0.17=0.17
|
0.17=0.17
|
||||||
0.16=0.16
|
0.16=0.16
|
||||||
|
@ -498,5 +499,5 @@ pages:
|
||||||
paths:
|
paths:
|
||||||
- 'public'
|
- 'public'
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"
|
- if: $CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH && $CI_PROJECT_NAMESPACE == $NAMESPACE
|
||||||
when: 'manual'
|
when: 'manual'
|
||||||
|
|
Loading…
Reference in a new issue