mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
24 lines
460 B
Bash
Executable File
24 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo "Run build script (TODO: Make strict)"
|
|
nx build artcraft-website
|
|
|
|
echo "Prerender per-route social-share (OG/Twitter) meta tags into dist"
|
|
node scripts/prerender-meta.mjs
|
|
|
|
echo "Change to project dir"
|
|
pushd apps/artcraft-website/
|
|
|
|
echo "Copy netlify configs into dist"
|
|
#cp _headers dist/
|
|
cp _redirects dist/
|
|
|
|
#echo "Copy netlify 404.html page into dist"
|
|
#cp "404.html" dist/
|
|
|
|
echo "List final files in build"
|
|
find dist/
|
|
|