From 8e2d9f1f16963c875bbabe95f47fcaa04e8f7270 Mon Sep 17 00:00:00 2001 From: Pierre-Dominique Putallaz Date: Tue, 6 Jul 2021 11:41:16 +0200 Subject: [PATCH] Ignore Jekyll when deploying the application to the GH pages --- .gitignore | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 81702e4..1970e50 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ dist/ # debug # local env files # vercel -.vercel \ No newline at end of file +.vercel diff --git a/package.json b/package.json index 73d56fa..3b6fae3 100644 --- a/package.json +++ b/package.json @@ -60,11 +60,11 @@ "scripts": { "start": "next dev", "start-production": "next start", - "build": "next build && next export --outdir build && touch build/.nojekyll", + "build": "next build && next export && touch out/.nojekyll", "lint": "eslint --ext js,ts,tsx src --max-warnings=0", "build:package": "rollup -c && node copy-package-json.js && cp README.md dist", "test": "jest test --coverage", - "deploy": "npx gh-pages -d build", + "deploy": "npx gh-pages -d out -t", "format": "yarn lint --fix", "release": "npm-run-all build:package && cd dist && npm publish", "validate": "CI=true npm-run-all lint test build validate:package",