From 7226b13d450446a030e5adf5eddeb3fd7ae873e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 5 Jan 2024 14:39:54 +0100 Subject: [PATCH] ci: use test branch temporarily --- .gitlab-ci.yml | 3 +++ _utils/gitlabci.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1167191ad..855088831 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,3 +4,6 @@ include: build:website: extends: .website + script: + - git clone https://gitlab.com/${CI_PROJECT_PATH%%/*}/qubesos.github.io ~/qubesos.github.io -b test + - ~/qubesos.github.io/_utils/gitlabci.sh diff --git a/_utils/gitlabci.sh b/_utils/gitlabci.sh index a60e7cc27..970038733 100755 --- a/_utils/gitlabci.sh +++ b/_utils/gitlabci.sh @@ -68,6 +68,8 @@ if [ "$repo_name" != "qubesos.github.io" ]; then else sub_path="." fi +#temp fixup +git remote set-url origin $(git remote get-url origin | sed -e s/gitlab/github/) git -C "$sub_path" fetch --update-shallow ${CI_PROJECT_DIR} HEAD git -C "$sub_path" checkout FETCH_HEAD