diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 098f874..181d850 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,9 @@ jobs: - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'dist' folder run: | npm install - npm run deploy + npm run build + npm run export + touch out/.nojekyll - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/README.md b/README.md index 7a23c05..b05932d 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,10 @@ npm run dev npm run build ``` -#### Builds and exports +#### Exports build for static hosts ``` -npm run deploy +npm run export ``` ### Linting & Formatting diff --git a/package.json b/package.json index 507ffca..aad5d0a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "deploy": "next build && next export", + "export": "next export", "start": "next start", "lint": "next lint", "format": "prettier '{components,pages,src,interfaces,hooks}/**/*.{tsx,ts,js}' --write"