Skip to content

Commit

Permalink
.github/workflows/doc-build.yml: Save/restore the git repo of the bui…
Browse files Browse the repository at this point in the history
…lt documentation around running doc-clean
  • Loading branch information
Matthias Koeppe committed Jun 22, 2023
1 parent 3230f00 commit 202fd62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ jobs:
# incremental docbuild may introduce broken links (inter-file references) though build succeeds
run: |
set -ex
make doc-clean doc-uninstall sagelib-clean && git clean -fx src/sage && ./config.status && make doc-html
mv /sage/local/share/doc/sage/html/en/.git /sage/.git-doc
make doc-clean doc-uninstall sagelib-clean && git clean -fx src/sage
mv /sage/.git-doc /sage/local/share/doc/sage/html/en/
./config.status && make doc-html
working-directory: ./worktree-image
env:
MAKE: make -j2
Expand Down

0 comments on commit 202fd62

Please sign in to comment.