File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
node-version : " 18"
20
20
- name : Build Website
21
- run : npm install && NEXT_PUBLIC_API_PUBLIC_BASE_URL="" npm run build
21
+ run : npm install && OUTPUT=export NEXT_PUBLIC_API_PUBLIC_BASE_URL="" npm run build
22
22
working-directory : ./kite-web
23
23
- name : Set up Go
24
24
uses : actions/setup-go@v4
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ RUN apt-get update
14
14
RUN apt-get -y install nodejs
15
15
16
16
# Build website
17
+ ENV OUTPUT=export
17
18
ENV NEXT_PUBLIC_API_PUBLIC_BASE_URL=""
18
19
RUN cd kite-web && npm install && npm run build && cd ..
19
20
Original file line number Diff line number Diff line change 2
2
const nextConfig = {
3
3
reactStrictMode : true ,
4
4
transpilePackages : [ "lucide-react" ] ,
5
- output : "export" ,
5
+ output : process . env . OUTPUT === "export" ? "export" : "standalone ",
6
6
} ;
7
7
8
8
export default nextConfig ;
You can’t perform that action at this time.
0 commit comments