Skip to content

Commit 7226b13

Browse files
committed
ci: use test branch temporarily
1 parent acd0726 commit 7226b13

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ include:
44

55
build:website:
66
extends: .website
7+
script:
8+
- git clone https://gitlab.com/${CI_PROJECT_PATH%%/*}/qubesos.github.io ~/qubesos.github.io -b test
9+
- ~/qubesos.github.io/_utils/gitlabci.sh

_utils/gitlabci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ if [ "$repo_name" != "qubesos.github.io" ]; then
6868
else
6969
sub_path="."
7070
fi
71+
#temp fixup
72+
git remote set-url origin $(git remote get-url origin | sed -e s/gitlab/github/)
7173
git -C "$sub_path" fetch --update-shallow ${CI_PROJECT_DIR} HEAD
7274
git -C "$sub_path" checkout FETCH_HEAD
7375

0 commit comments

Comments
 (0)