From d186d6ee433beb1e0c93571f6b276774a94050a7 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 2 Jul 2021 16:44:24 -0400 Subject: [PATCH] ceph-website: Build PR checkouts The previous way this was configured would only build branches from this repo; no forks. When a PR is submitted from a fork, the job would just build main. Oops. Signed-off-by: David Galloway --- ceph-website/config/definitions/ceph-website.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ceph-website/config/definitions/ceph-website.yml b/ceph-website/config/definitions/ceph-website.yml index b49cf9ab7..89d134de3 100644 --- a/ceph-website/config/definitions/ceph-website.yml +++ b/ceph-website/config/definitions/ceph-website.yml @@ -45,11 +45,11 @@ scm: - git: url: https://github.com/ceph/ceph.io + branches: + - main + - origin/pr/${ghprbPullId}/merge + refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* browser: auto - # The default is to build and publish every branch. - # Uncomment this for testing: - #branches: - # - 'origin/master' skip-tag: true timeout: 20 wipe-workspace: true -- 2.47.3