summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2023-01-20 15:06:09 +0100
committerOndrej Holy <oholy@redhat.com>2023-01-24 07:04:33 +0000
commit22d285e741cfb1fc37bb093c8972b95239c75530 (patch)
treeb2ad418d23f60354a218e2bdf435a0aac296e757 /.gitlab-ci.yml
parent29f4004fd38feb4b46d1bf95c1ae6fa42bccce7c (diff)
downloadnautilus-22d285e741cfb1fc37bb093c8972b95239c75530.tar.gz
ci: Disable pages job on forks
The pages job is allowed on forks currently. It is not desired to run it there and it is going to fail there anyway. Let's explicitly disable this job on forks.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ea610e65..bacfe4bcf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,7 +76,7 @@ pages:
image: registry.gitlab.gnome.org/gnome/nautilus:latest
stage: deploy
rules:
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE == "GNOME"
script:
- meson setup -Ddocs=true -Dextensions=false -Dtests=none _build
- ninja -C _build