Skip to content
Snippets Groups Projects
Commit 5cac6a6e authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: only fetch ref, use short ref

parent 006ee28b
Branches
No related tags found
No related merge requests found
Pipeline #53902 failed
variables:
GITHUB_REPOSITORY: http://github.com/eic/juggler
GITHUB_TOKEN:
GITHUB_REF: refs/heads/main
GITHUB_REF: main
stages:
- pending
......@@ -36,9 +36,9 @@ pending:
prepare:
stage: prepare
script:
- git remote add project ${GITHUB_REPOSITORY}
- git fetch project
- git merge --allow-unrelated-histories project/${GITHUB_REF}
- git remote add github ${GITHUB_REPOSITORY}
- git fetch github ${GITHUB_REF}
- git merge --allow-unrelated-histories github/${GITHUB_REF}
artifacts:
paths:
- .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment