I'd expect the following to suffice for checking out a dedicated branch which differs from the $CI_COMMIT_BRANCH the pipeline trigger originated from:
clone:
git:
image: woodpeckerci/plugin-git:2.6.5
settings:
branch: gh-pages
However, this still results in a checkout of $CI_COMMIT_BRANCH. Instead, the following is needed:
clone:
git:
image: woodpeckerci/plugin-git:2.6.5
settings:
branch: gh-pages
ref: gh-pages
Note the ref: gh-pages part.
I think this is a bug and ref shouldn't have an actual part in this. Any opinions?
I'd expect the following to suffice for checking out a dedicated branch which differs from the
$CI_COMMIT_BRANCHthe pipeline trigger originated from:However, this still results in a checkout of
$CI_COMMIT_BRANCH. Instead, the following is needed:Note the
ref: gh-pagespart.I think this is a bug and
refshouldn't have an actual part in this. Any opinions?