Skip to content

Commit

Permalink
ci: use test branch temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jan 5, 2024
1 parent acd0726 commit 7226b13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions _utils/gitlabci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7226b13

Please sign in to comment.