diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 72bf285226a..c82e94b7790 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -133,7 +133,7 @@ jobs: set -ex DOC_DIR=/sage/local/share/doc/sage/html (cd $DOC_DIR && git commit -a -m 'new') - PATH=/sage/venv/bin:$PATH .ci/create-changes-html.sh $(cd $DOC_DIR; git rev-parse HEAD^) $DOC_DIR $SAGE_ROOT + PATH=/sage/venv/bin:$PATH .ci/create-changes-html.sh $(cd $DOC_DIR; git rev-parse HEAD^) $DOC_DIR (cd $DOC_DIR && rm -rf .git) # We copy everything to a local folder # We also need to replace the symlinks because netlify is not following them