adjusted script
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-12-29 17:07:36 -05:00
parent 38f625b0b1
commit 37a4e1b9dc
1 changed files with 0 additions and 5 deletions

View File

@ -8,18 +8,13 @@ trap "rm -rf $DIR" EXIT
pushd $DIR
echo "hello"
echo $NEXT_PUBLIC_BASE_PATH
git clone file:///srv/git/www/cs-2022-class-profile.git --depth=1
cd cs-2022-class-profile
export NEXT_PUBLIC_BASE_PATH="/classprofile/2022"
npm install
echo $NEXT_PUBLIC_BASE_PATH
npm run build
echo $NEXT_PUBLIC_BASE_PATH
npm run export
echo $NEXT_PUBLIC_BASE_PATH
chgrp -R www out
chmod -R g+w out