adjusted script
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
38f625b0b1
commit
37a4e1b9dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue