Skip to content

Commit

Permalink
follow symlinks to fix CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Aug 20, 2019
1 parent ab8cda9 commit 819cf4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .ci/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ docker_build --target make-all --tag make-all:$DOCKER_TAG .

# Copy docs out of the docker image to save them into browseable GitLab artifacts
container=$(docker create make-all:$DOCKER_TAG)
docker cp $container:/home/sage/sage/local/share/doc/sage/html html
docker cp $container:/home/sage/sage/local/share/doc/sage/html html_
# GitLab's browser does not like symlinks, so we flatten them
rsync html_/ html/ -a --copy-links

# Build the release image without build artifacts.
docker_build --target sagemath --tag "$DOCKER_IMAGE_CLI" .
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ build-from-latest:
- html
expire_in: 1 month
script:
- apk --update add coreutils
- apk --update add coreutils rsync
# The output of the build can get larger than gitlab.com's limit; only
# print the first 1MB (and the last 80 lines.) GitLab's limit is 4MB,
# however, the list of all branches and tags that shows up in the initial
Expand Down

0 comments on commit 819cf4a

Please sign in to comment.