From c8095f8df4bb92f369c0eca6973d22db8250959f Mon Sep 17 00:00:00 2001 From: charles0830 Date: Fri, 28 Oct 2022 10:16:52 +0000 Subject: [PATCH] fixed package --- .github/workflows/node.js.yml | 2 +- package.json | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b2d5e18..1f47bf6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -37,7 +37,7 @@ jobs: run: yarn next build - name: export my App - run: yarn run export + run: yarn export - name: touch my App run: touch ./out/.nojekyll diff --git a/package.json b/package.json index 46a605f..c3c6490 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,4 @@ { - "homepage": "http://Apollo-111.github.io/portfolio", "name": "personal-site", "version": "2.0.0", "private": true, @@ -11,8 +10,7 @@ "lint": "yarn run -T prettier --write './src/**/*.{js,jsx,json,ts,tsx}' && eslint './src/**/*.{js,jsx,ts,tsx}' --fix --max-warnings=0", "start": "yarn next start", "sitemap": "yarn next-sitemap", - "predeploy": "yarn build", - "deploy": "gh-pages -d build" + "export": "next export" }, "dependencies": { "@headlessui/react": "^1.5.0", @@ -65,6 +63,5 @@ }, "resolutions": { "autoprefixer": "10.4.5" - }, - "export": "next export" + } }