From 47916c359026d08af556eb8d961b52031bc2ed71 Mon Sep 17 00:00:00 2001 From: sup39 Date: Mon, 13 Mar 2023 18:28:28 +0900 Subject: [PATCH] add build script --- package.json | 3 +-- public/.nojekyll | 0 public/CNAME | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 public/.nojekyll create mode 100644 public/CNAME diff --git a/package.json b/package.json index d2d9fcb..c12e667 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,7 @@ "license": "MIT", "scripts": { "dev": "next dev", - "build": "next build", - "start": "next start", + "build": "git rebase main && next build && next export && rm -rf docs && mv out docs", "lint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx ." }, "eslintConfig": { diff --git a/public/.nojekyll b/public/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 0000000..340ddd7 --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +sms.sup39.dev