parent
4aa85e9052
commit
0a86abbc84
|
@ -16,7 +16,7 @@ jobs:
|
|||
node-version: 18
|
||||
- run: npm ci
|
||||
|
||||
- run: npm run build
|
||||
- run: npm run build:static
|
||||
env:
|
||||
NEXT_PUBLIC_INFURA_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_INFURA_PROJECT_ID }}
|
||||
|
||||
|
|
|
@ -351,8 +351,6 @@ npm run build
|
|||
npm run serve
|
||||
```
|
||||
|
||||
The build command runs `next export` and outputs a static site under `./out`, ready to be deployed.
|
||||
|
||||
## ⬆️ Deployment
|
||||
|
||||
Every branch or Pull Request is automatically deployed to multiple hosts for redundancy and emergency reasons:
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
"homepage": "https://market.oceanprotocol.com",
|
||||
"scripts": {
|
||||
"start": "npm run pregenerate && next dev -p 8000",
|
||||
"build": "npm run pregenerate && next build && next export",
|
||||
"serve": "serve -s out/",
|
||||
"build": "npm run pregenerate && next build",
|
||||
"build:static": "npm run build && next export",
|
||||
"serve": "serve -s public/",
|
||||
"pregenerate": "bash scripts/pregenerate.sh",
|
||||
"test": "npm run pregenerate && npm run lint && npm run type-check && npm run jest",
|
||||
"jest": "jest -c .jest/jest.config.js",
|
||||
|
|
Loading…
Reference in New Issue