Skip to content

Commit

Permalink
broken dir fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenplatt committed Nov 22, 2024
1 parent 4b18e4a commit 5a633d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ deploy-preview:
ARG AZTEC_BOT_COMMENTER_GITHUB_TOKEN
ARG PR
FROM +serve
COPY --dir ../yarn-project/+scripts-prod/usr/src/yarn-project /usr/src
COPY --dir ../yarn-project/+scripts-preview/usr/src/yarn-project /usr/src
COPY ./netlify.toml .
COPY ./deploy_preview.sh .
RUN NETLIFY_AUTH_TOKEN=$NETLIFY_AUTH_TOKEN NETLIFY_SITE_ID=$NETLIFY_SITE_ID ./deploy_preview.sh $PR $AZTEC_BOT_COMMENTER_GITHUB_TOKEN
Expand Down
4 changes: 0 additions & 4 deletions docs/deploy_preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,4 @@ DOCS_PREVIEW_URL=$(echo "$DEPLOY_OUTPUT" | grep -E "https://.*aztec-docs-dev.net
echo "Unique deploy URL: $DOCS_PREVIEW_URL"

cd ../yarn-project/scripts

yarn install
yarn build

AZTEC_BOT_COMMENTER_GITHUB_TOKEN=$AZTEC_BOT_COMMENTER_GITHUB_TOKEN PR_NUMBER=$PR_NUMBER DOCS_PREVIEW_URL=$DOCS_PREVIEW_URL yarn docs-preview-comment

0 comments on commit 5a633d4

Please sign in to comment.