Files
nym/documentation/scripts/move-to-dist.sh
2024-10-29 18:13:06 +01:00

14 lines
241 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o pipefail
echo 'calling from' $(pwd)
if [ ! -d ../../dist/docs/ ]; then
# echo "dest doesn't exist: creating dir"
mkdir -p ../../dist/docs/
fi
rsync -r ./.next/server/* ../../dist/docs/