diff --git a/roles/prepare-docs-for-afs/tasks/main.yaml b/roles/prepare-docs-for-afs/tasks/main.yaml index f2cc5173..3dc217f6 100644 --- a/roles/prepare-docs-for-afs/tasks/main.yaml +++ b/roles/prepare-docs-for-afs/tasks/main.yaml @@ -45,7 +45,6 @@ # a directory named for the tag, so we move that # directory to the publish location. mv doc/build/html/$tag doc/publish/ - mv doc/build/html/.root-marker doc/publish/$tag/ elif [[ $branch_name = master ]]; then # The above tasks does not rename the output directory, but # we want it to be called "latest". @@ -55,7 +54,6 @@ # a directory named for the branch, so move that to the # publish location. mv doc/build/html/$(basename $branch_name) doc/publish/ - mv doc/build/html/.root-marker doc/publish/$(basename $branch_name) elif [[ $branch_name =~ feature/ ]]; then echo "Docs should not be published for feature branches" exit 1