Skip to content

Commit 50cbbe7

Browse files
committed
ci: use test branch temporarily
1 parent 74c25a1 commit 50cbbe7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ git submodule update --init --recursive
4848

4949
echo -e "section_end:$(date +%s):prepare\r\e[0K"
5050

51+
#temp fixup
52+
git remote set-url origin $(git remote get-url origin | sed -e s/gitlab/github/)
53+
5154
if is_pr; then
5255
echo -e "section_start:$(date +%s):build_orig\r\e[0KBuilding original site to compare"
5356
# exact value doesn't matter as long as it is in the future, but needs to

0 commit comments

Comments
 (0)