mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-11-21 14:48:37 +00:00
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 in38a2548,a13ef97and04ae38b. Verified on a fork: docs build and gh-pages push both succeed. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>