Skip to content

Commit 1691254

Browse files
committed
fixup! Rewrite RTD configuration to use build.jobs rather than build.commands
Avoid "refname 'origin/main' is ambiguous" warnings
1 parent c9428cc commit 1691254

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ build:
2424
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ];
2525
then
2626
base_branch=main;
27-
git fetch --depth=50 origin $base_branch:origin/$base_branch;
27+
git fetch --depth=50 origin $base_branch:origin-$base_branch;
2828
for attempt in $(seq 10);
2929
do
30-
if ! git merge-base HEAD origin/$base_branch;
30+
if ! git merge-base HEAD origin-$base_branch;
3131
then
3232
git fetch --deepen=50 origin $base_branch;
3333
else

0 commit comments

Comments
 (0)