comicbox/scripts/build-release.sh

15 lines
280 B
Bash
Executable file

#!/usr/bin/env sh
set -e -u -o pipefail
echo Building production TAR...
mkdir -p comicbox/
mkdir -p comicbox/.next/
cp -r .next/standalone/* comicbox/
cp -r .next/static/ comicbox/.next/
cp next.config.js comicbox/
cp -r public/ comicbox/
tar -cvzf comicbox.tar.gz comicbox/