Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): Make git repo available when building docs #3761

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,11 @@ jobs:
name: "Configure build for master"
command: |
if [ "$CIRCLE_BRANCH" == "master" ]; then
echo "Configuring build for master"
echo Configuring build for master
echo "INCLUDE_RELEASED_CODE=1" >> docs/.env
LAST_TAG="aztec-packages-v$(jq -r '.["."]' .release-please-manifest.json)"
echo Fetching latest released tag $LAST_TAG
git fetch origin --refetch --no-filter refs/tags/$LAST_TAG:refs/tags/$LAST_TAG
fi
- run:
name: "Build docs"
Expand Down
5 changes: 4 additions & 1 deletion docs/Dockerfile.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ docs/node_modules
!barretenberg/cpp/src/barretenberg
!circuits/cpp/src
!.release-please-manifest.json
!boxes
!boxes

# Docs build fetches code snippets from the last release using git show.
!.git