Set USE_LDAP=true

This commit is contained in:
Aditya Thakral 2021-10-30 16:55:49 -07:00
parent 22870cf023
commit 265da39d4e
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ function updateWebsite(branch: string) {
repo_$(`git checkout ${branch}`);
repo_$(`npm install`);
repo_$(`NEXT_PUBLIC_BASE_PATH="/~${USER}/csc/${branch}" npm run build`);
repo_$(
`USE_LDAP=true NEXT_PUBLIC_BASE_PATH="/~${USER}/csc/${branch}" npm run build`,
);
repo_$(`npm run export`);
const finalDir = path.join(WWW_DIR, branch);