Actions: attempt to fix build

This commit is contained in:
Pieter Vander Vennet 2024-12-17 16:49:56 +01:00
parent 566a7e639e
commit 7aafa47fb3
2 changed files with 3 additions and 7 deletions

View file

@ -44,7 +44,7 @@ sed -i "s/\/\/ LAYOUT.ADD_CONFIG/layout.enableMoreQuests = false/" index_"$THEME
export NODE_OPTIONS=--max-old-space-size=20000
vite build --sourcemap --config vite_single.config.js || { echo 'Vite build failed' ; exit 1; }
npm run build:vite:single || { echo 'Vite build failed' ; exit 1; }
cp -r assets/layers/ dist/assets/layers/
@ -96,9 +96,4 @@ then
fi
npm run clean
echo "BUILD COMPLETED"
echo "On what domain will you deploy?"
echo " ! Don't forget to add `https://yourdomain.tld/land.html` to the Redirect URIs on https://www.openstreetmap.org/oauth2/applications/"
echo "Deploying on github pages?"
echo " 1. Don't forget to add a CNAME file (containing your domain name verbatim, without protocol)"
echo " 2 .nojekyll file (which is empty)"
echo "BUILD COMPLETED. Files are in dist_$1"