Skip to content

Commit

Permalink
dont regenerate lockfile during build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneu committed Mar 18, 2020
1 parent c9df232 commit bcd6adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-site-and-subsites.sh
Expand Up @@ -10,7 +10,7 @@ dev_branch_pattern="dev/*"
original_branch=$(git rev-parse --abbrev-ref HEAD)

git checkout origin/master
yarn install
yarn install --pure-lockfile
yarn build

# backup the current site
Expand Down Expand Up @@ -41,7 +41,7 @@ for build in $all_builds; do
exit $?
fi

yarn install
yarn install --pure-lockfile
BASE_URL="/$build" yarn build

# move built files to the output directory. we can't just move
Expand Down

0 comments on commit bcd6adf

Please sign in to comment.