Repository for the Bootcamp 23.1 challenge
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/sh
|
|
|
|
|
|
if [ -f "build/cluarData.js" ]; then
|
|
|
mv build/cluarData.js .cluarData.js
|
|
|
mv build/sitemap.xml .sitemap.xml
|
|
|
fi
|
|
|
|
|
|
if [ -d "build/images" ]; then
|
|
|
rsync -av build/images/ public/images/
|
|
|
fi
|
|
|
|
|
|
npm install --force
|
|
|
|
|
|
npm run build
|
|
|
|
|
|
if [ -f ".cluarData.js" ]; then
|
|
|
mv .cluarData.js build/cluarData.js
|
|
|
mv .sitemap.xml build/sitemap.xml
|
|
|
fi
|