Files
kubevirt.core/.github
Felix Matouschek 92d68fdd38 fix(ci): build docs from the checkout instead of a copy
The docs workflow copied the collection to ~/.ansible/collections and ran
the docs action there. actions/checkout v6 stopped writing the token into
.git/config and now keeps it in a separate file referenced by an
includeIf.gitdir entry scoped to the workspace path (PR actions/checkout#2286).
The copy inherits the includeIf entry but not the matching gitdir, so it
had no credentials and the gh-pages push failed.

Put the workspace on the collections path instead. The checkout already
has the ansible_collections/kubevirt/core layout, so the docs build can
run in it directly, which also means checkout's own credentials apply to
the gh-pages push. This removes the manual credential setup added in
38a2548, a13ef97 and 04ae38b.

Verified on a fork: docs build and gh-pages push both succeed.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-08-10 15:08:58 +02:00
..