Change output directory
This commit is contained in:
parent
e253251b30
commit
83f3becf2b
2
.github/workflows/build-and-deploy.yml
vendored
2
.github/workflows/build-and-deploy.yml
vendored
@ -16,9 +16,7 @@ jobs:
|
||||
run: |
|
||||
npm ci --prefix processing
|
||||
node processing
|
||||
|
||||
npm ci --prefix site
|
||||
npm run build --prefix site
|
||||
npm run deploy --prefix site
|
||||
|
||||
- name: Generate App List # Have to run it again because the deploy wipes the file and folders out
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# build output
|
||||
dist
|
||||
public
|
||||
.next
|
||||
target
|
||||
packages/next/wasm/@next
|
||||
|
@ -3,7 +3,7 @@ const glob = require("glob");
|
||||
const { hashElement } = require("folder-hash");
|
||||
const nextConfig = require("../site/next.config.js")
|
||||
|
||||
var dir = "./site/out";
|
||||
var dir = "./public";
|
||||
|
||||
if (!fs.existsSync(dir)) {
|
||||
fs.mkdirSync(dir);
|
||||
|
@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && next export",
|
||||
"deploy": "next build && touch out/.nojekyll",
|
||||
"build": "next build && next export -o ../public/",
|
||||
"deploy": "next build && next export -o ../public/ && touch ../public/.nojekyll",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user